Question: C# Basic Game: Steps 1. The first thing you need to do is describe the game that you want to build. There are some constraints,
C# Basic Game: Steps 1. The first thing you need to do is describe the game that you want to build. There are some constraints, but you have some freedom too. The constraints are: a) Your game must allow the user to move the character around the screen (so you must have a player game object that moves about the screen based upon the user's control). b) Your game must allow the user to pick from a set of weapons. So the user can choose which weapon to use at any given time. c) Your game must allow the user to use their weapon. You must have at least 3 weapon types in your game. These weapons will behave differently (so use inheritance). d) Your game must contain at least three types of enemies. The enemies will behave differently as well (so, again, use inheritance). 2. Next, you need to define the classes of your game. a) Define the classes, each with a name, any attributes, and any methods needed b) Define the relationships between the classes (inheritance) 3. Third, code up the classes in C# and make the game objects in Unity 4. Finally, your game should be playable. At the very least, your program should a) Display the player's game object as it moves on the screen b) Allow the user to select which weapon is currently active and use it c) Display at least one of each kind of enemy as it moves on the screen.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
