{"id":2353,"date":"2011-09-01T19:51:37","date_gmt":"2011-09-01T19:51:37","guid":{"rendered":"http:\/\/www.aheadsrl.com\/wordpress\/?p=2353"},"modified":"2015-07-07T05:54:36","modified_gmt":"2015-07-07T05:54:36","slug":"astrobattle","status":"publish","type":"post","link":"https:\/\/www.aheadsrl.com\/wordpress\/game\/astrobattle\/","title":{"rendered":"Astrobattle"},"content":{"rendered":"<h2 style=\"text-align: center;\">\u00a0<span style=\"color: #ff0000;\">Astrobattle.<\/span><img loading=\"lazy\" decoding=\"async\" class=\" size-medium wp-image-2361 alignright\" src=\"http:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/air-300x225.png\" alt=\"air\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/air-300x225.png 300w, https:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/air.png 1024w, https:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/air-200x150.png 200w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/h2>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>Adobe, with its AS3, allows you to develop apps that can be compiled for several operating systems, running on different devices. In our case Android and IOS. You can develop with Flash AS3 and compile for eitehr IOS or Android:<\/p>\n<p><a href=\"https:\/\/forums.adobe.com\/message\/5837305\" target=\"_blank\">https:\/\/forums.adobe.com\/message\/5837305<\/a><\/p>\n<p>Astrobattle is a little cross-platform game. It has been written with Adobe Flash and AS3; it has a teaching purpose, it hasn't absolutely the pretension to appear as a true full game.<\/p>\n<p>It has been written with Adobe Flash CS5 IDE.<br \/>\nAstroBattle.fla is the main project file (double click on it to load the project).<\/p>\n<p>The scenography is assimilable to an 80s arcade game, that is:<br \/>\na courageous spaceship must survive fifhting against aliens.<\/p>\n<p><a href=\"http:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/air-ios.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" size-medium wp-image-2360 alignright\" src=\"http:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/air-ios-300x117.jpg\" alt=\"air-ios\" width=\"300\" height=\"117\" srcset=\"https:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/air-ios-300x117.jpg 300w, https:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/air-ios.jpg 424w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The key points of the game are(from developer point of view):<\/p>\n<p>- background image changing among levels<br \/>\n- parallax effect to emulate the stars<br \/>\n- background sound<br \/>\n- a finite number of spaceships<br \/>\n- a finite number of alien nacelles<br \/>\n- infinite number of bullets<br \/>\n- different sounds for our fire, enemy fire, blasts<br \/>\n- incrementally difficulty with the game increment<br \/>\n- score<br \/>\n- game over splash<br \/>\n- winner splash<\/p>\n<p>The Action Script classes:<a href=\"http:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/adobe-flash-google-android-.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" size-medium wp-image-2358 alignright\" src=\"http:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/adobe-flash-google-android--300x282.jpg\" alt=\"adobe-flash-google-android-\" width=\"300\" height=\"282\" srcset=\"https:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/adobe-flash-google-android--300x282.jpg 300w, https:\/\/www.aheadsrl.com\/wordpress\/wp-content\/uploads\/2015\/07\/adobe-flash-google-android-.jpg 500w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>- Main.as:<br \/>\nit makes an instance of AstroBattle.<\/p>\n<p>- AstroBattle.as:<br \/>\nit contains all constants, timers setting, touch setting,<br \/>\ninstances of graphic and sound objects,<br \/>\nlistener settings, the function enterFrameListener<br \/>\nand the function initGame().<\/p>\n<p>- Enemy.as:<br \/>\nit's responsible for making a new enemy.<\/p>\n<p>- ParallaxField.as:<br \/>\nit makes the animated parallax backgroud.<\/p>\n<p>- PixelPerfectCollisionDetection.as:<br \/>\nnot used.<\/p>\n<p>- Shot.as:<br \/>\nit makes the first type of bullet.<\/p>\n<p>- Shot2.as:<br \/>\nit makes the second type of bullet.<\/p>\n<p>For all that concernig IOS and Android compilation see the Adobe documentation:<\/p>\n<p><a href=\"http:\/\/labs.adobe.com\/downloads\/air.html\" target=\"_blank\">http:\/\/labs.adobe.com\/downloads\/air.html<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-style: inherit;\">Download section.<\/span><\/p>\n<a href=\"http:\/\/www.aheadsrl.com\/download\/AstroBattle_mac.zip\" title=\"download source\" class=\"btn btn-default btn-normal btn-inline \" target=\"_blank\">download source<\/a><!-- .btn -->\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0Astrobattle. &nbsp; &nbsp; &nbsp; Adobe, with its AS3, allows you to develop apps that can be compiled for several operating systems, running on different devices. In our case Android and IOS. You can develop with Flash AS3 and compile for eitehr IOS or Android: https:\/\/forums.adobe.com\/message\/5837305 Astrobattle is a little cross-platform game. It has been written with Adobe Flash and AS3; it has a teaching purpose, it hasn't absolutely the pretension to appear as a true full game. It has been written with Adobe Flash CS5 IDE. AstroBattle.fla is the main project file (double click on it to load the project).&nbsp;<a href=\"https:\/\/www.aheadsrl.com\/wordpress\/game\/astrobattle\/\" class=\"read-more\">Continue Reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":2362,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","two_page_speed":[]},"categories":[58],"tags":[73],"_links":{"self":[{"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/posts\/2353"}],"collection":[{"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2353"}],"version-history":[{"count":14,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/posts\/2353\/revisions"}],"predecessor-version":[{"id":2367,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/posts\/2353\/revisions\/2367"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/media\/2362"}],"wp:attachment":[{"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}