You will develop a space shooting game as the final (A5) assignment of this course.Please watch the demo carefully. A basic framework has been provided with all theartwork needed, such as models, textures, audio clips and prefabs. You need to completethe scripts and configure the objects. In each script, comments are added as a guideline.There are seven scripts included in the package. You need to finish the first six:1. Player: control the player ship, attach to the player object2. Enemy: control the enemy ship, attach to the enemy ship prefab3. Collision: define the collision of asteroids and enemy ship, attach to each of them4. Asteroid: control the asteroids, attach to each asteroid prefab5. GameManager: define the game logics, attach to the main camera6. Boundary: destroy everything that enters the boundary trigger7. Background: control the space background, already finished and attachedGame behaviors:1. Asteroids: three kinds of asteroids (rocks) are provided in the package as prefab. Youdo not need to change the art of them.a) Created at the top side of the window periodicallyb) Move vertically at constant speed; speed varies for different asteroidsc) Explode when hit by the bolts fired by player shipd) Nothing happens when colliding with another asteroid or the enemy ship2. Enemy ship: two kinds of enemy ship are provided as prefabs. You do not need tochange the art of thema) Created at the top side periodicallyb) Move BOTH vertically and horizontallyc) Fire vertically at a fixed speedd) Explode when hit by the bolts fired by player shipe) Nothing happens when colliding with another enemy ship or asteroids3. Player shipa) You need to drag the player prefab into the scene, set y = 0b) Moves as keys (AWSD) pressedc) Fires upward when left mouse button pressedd) Explode when colliding with an asteroid or enemy shipe) Explode when hit by bolts fired by an enemy shipf) A specific score is earned when shooting down an asteroid or enemy ship ( forexample 5 for an asteroid and 10 for the enemy ship)g) A life is cost when shot or collided (totally 3 lives)4. All代写framework作业、Python/Java课程作业代做、代写c/c++程序语言作业、代做ship prefab作 objects stay within the windows area, destroyed if outside. You need to create atrigger object at the bottom of the camera window, similar as in A4. Objects aredestroyed if hitting this trigger5. Particle system and audio effect are applied for all explosion and shooting events6. A few GUIText objects should be created in the scene and linked to the variables inscripts, to indicate the score and game state7. Game is won when 100 score is warned; lost if all 3 lives are gone; In the state of“won” or “lost”, game is paused and can be restarted when “R” key is pressed;8. Your game is supposed to run exactly the same way as the demo gameMarking Scheme (150 total):1. Three kinds of asteroids and one enemy ship are created2. Asteroids move downward with self rotation3. Asteroids explode when shot4. The enemy ship moves correctly5. The enemy ship fires periodically6. Enemy ship explodes when shot7. Player ship moves correctly by user’s input8. Player ship fires correctly when left mouse button pressed9. Player ship explodes when shot or collided10. Objects do not move outside of the left & right boundary11. Objects are destroyed if going beyond the bottom boundary12. GUI displays to indicate current score and game state13. The game is won or lost when conditioned reached, pauses and restarts correctly14. All scripts are composed and applied properly (no errors, attach only once, etc)15. Game runs smooth and the submission is completeNote : “Explode” means the correct particle system and audio clips are appliedExtra features (Optional, 10 points):Construct another level (a new scene file) with similar behaviors but with more difficulty.Optional features to choose:1. Asteroids and enemy ship are created at a shorter period of time2. Asteroids and enemy ship move faster3. New enemy ship with more deadly shots (one shot for two life?)4. Higher score requirement5. It takes multiple shots to shoot down an asteroid or enemy shipSubmission1. Explain in a txt file if you did some extra feature2. Compiled game and the data folder, exported package of the whole project 转自:http://www.7daixie.com/2019050822989233.html
网友评论