Above: a finished product of my game.
Now ill tell you how i made this amalgamation, so i started with the creation of the ship and bullet animations
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTTgGEMw_cB8Q6C1lAkj4D6cwC7oCplnlo1DDWPR4r1wLOj52d3iYGP381M-vH8j9rjrCbXD2YhA7X4TKBnxz_ehpdQhJFP-blJ5ZXov9oLzoWMgSQQlTX6yTLC29QEdcqhUG0XHYwY537/s400/CC2_flying_animation_completed.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_SowgEOHdiDNh6c_DpgOvIwSOKbViRORknrUvrIwXb08QsUD5gRCVML-C5u56fVJo6jQoFMIYcnwH9c3NcAOBHpMzL4O2uaGlaLjPj2J2qhRvWJScYHWDf6fErrY3Wrx8qt71ldl8vwgC/s400/image29.png)
Now i have to go into the physics setting for the bullets to make sure they collide with enemies (enemies don't need animations)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-U-hl59mDt9VMKK3iJIsuHTBVHqd1d1JPQ_LulhdUpu3tYxtbAneJfqZ3uGYomvIxfFyhtuI8La0XztFmle0iVHq31ay19yQIHmZpTfHcIxkg5mPZowrA59QwKRAeHuyCIXg4s0Per6vA/s320/image44.png)
Now I'm creating a stage that i can put all the art assets together to make a coherent level for my space invaders clone
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlj9TTKIfOjQ7Ty3GtYnIsdKRl5VXvm_zTk3ASHhNumWkAFs05_iNf6ETVY83RvSXr1wdXX8wbGMXEfnflotHuQIxhsWPp-Ff2bOZSOxRn0CfymSH-K1yEEhyphenhyphend7hK3CMwfiyCofs2TN-FO/s320/image21.png)
The stage after i have inserted the first wave of enemies and the players ship
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhVDNTw4bRhSkEtu52eAm0WfeYi7V6lD_fPpm4w5rSln0l8AGV1snudO0itaXJdPDbcHa9gAHbH2YFVmUksX5pY66WvLyz_x5m2n_-X3xjn5A8y6IlK_jC-7tlJvG_Gupzo1Qh5_RUVnaa/s320/image38.png)
Now that i have my stage i only have to add 2 more things, code and music so i decided to add music first
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh26nS9R8YVIkgFqj-K6KryD1DiYxhVw-9u68ynE3O3dtolYiVMBDz3KKWuompQ5XUDjRlcgUKdEAdUs7KawAI510ZeTwJaOVqe9jf_oYkRLlDoBmon316UaSTEt21dyizAyyt4CZBQQcKz/s640/CC2_image76.png)
Above: the audio import menu offered by Stencyl that i used to get sound effects into my game
Now here is the simplified code that i'm using to make all the stuff in my game.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjACpu1-cHZknmc36J4RHYWM_MmsJgPEPOrh6xFo3oVdoUzhmrfhHIbJBNZlNzeIS3KVbXidgc2ykUWhqskXodXAC3Glu7CGhhmot6sF-EBLh6m3zGV3N8xirDDvon1QwYc8T-pVZSq3Dat/s400/image91.png)
Code for music in the level
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir39ofhWvzvCO22258AAbq8oHUAENyeBm7jLG7ByuumvHXRMiQ3cqQPUiAUzR-WNMScrGA6qRM-pCH4B-acupXwjw_4OAWCfZnQxHiKSLnxby2jlKYvF4G16LZ8F0CQdhW20U9_lbLoWB0/s400/CC2-Ship-LR-Movement.png)
Code for ship movement
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipjLrXDUkgi4bimIdyxfC87xoIchthoj5zOks3eUcCXsiHZtblpB5_lc69brzTwdvd8xAm209eMWgKLFmgD3oYMlTgQzaI0AcziuYqn5AzlougAhlPZ8WckVQY6ICu7uMojdBqMs1cxEBo/s400/CC2-Maintain-Position-Step2.png)
Code so the ship doesn't leave the map
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi014U7W5GVs1TcDDwmWqrhqrXq1JuF9_sGiywtCjviTJ-1LO1mTg8-dR6JqywdBM3Qh6nGymB2rrRE7t7Sfvkosow7PXVzG-9uhQugCTn_xM0h6Om3aekOHyhRg5UWgbz4_vdL3WYXQzei/s400/image95.png)
Code to make the ship shoot bullets
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3Q1LlWdgN9jzIGCoZIPfE1C3sBX8Q_He4a8ILLJcVdiAmNH6p7CViG2okMDoMnAHjTDFDQMLVNdi64OxZoBt63ara7u7Y9-0X2oNEMU4vRMorqPFvmfXnfAqZADzUSTGE4AjJE3_ycWEp/s320/cc2_hit_effect.png)
Code to make bullets destroy the enemy ships when hit 3 times. Using custom outputs to make a hit command.
Now the only thing i got to do is make a custom font so i can make a "you win" text element.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP_CSKs3ddKpUlCk_J90e0jelL_K9AgUCqltEDcsdWXQ4cWx8pq3TdxPOisD73WLnqNzjhfCBMFBzfS8VBiqIicM7O8Jx3yxhfwGAdImKwrwvzLMNzHyY3BJaVKgFhsRdzv4SZYdgg9gbx/s320/cc2_create_font.png)
settings i used for my custom text
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJXTYdQmFnwUahSSoEj6A5LCzlliny66j1Jf8xP7OO6hF2NavypFZ17NhGswaEDe8Q9_5PFnqhcx37uccTRpmkBqNWSavXhdE_fB-vc1gi4WuBbIh9Dg-qCKbELQeHV_54ZIkKx-yihwDS/s320/cc2_you_win_message.png)
actual win screen, it only appears after you destroy all the ships
No comments:
Post a Comment