Fight Till the Last Breath
by Proprogrammers in Outside > Survival
976 Views, 5 Favorites, 0 Comments
Fight Till the Last Breath
Supplies
Step 1 Signing Up to Code.org
Step 2 Starting to Write Code on Game Lab
Step 3 Giving Animation
Step 4 Adding Some Functions
We created sprites gave images to them to make game more lively but it would be completely boring if the player isn't moving and controllable by us so we will add some functions to make the game controllable I added some functions which make it more interesting and thrilling game such as you can control the robot's position using arrow keys, if the robot touches any terrorist, tnt, lava or enemy robot the player's life decreases by 1.
Step 5 Testing the Game
Once you have created the sprites added functions then only thing remaining is testing which is done by clicking on run, if it doesn't work the error will be displayed on the screen. To try again you have to click on reset and then make all necessary changes to make the coding working.
Step 6 Final Output !
The most important thing and exciting thing after coding is the output of code, this is why I felt important to show you the output of our survival game. I have made this game just for entertainment and you will find it really interesting and exciting game .
I am sharing the code and game of game-
code- code for game