Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help coding the weapons base using inheritance and coding the weapons that use the base. CSE1302 Project 1 Objective The purpose of this

I need help coding the weapons base using inheritance and coding the weapons that use the base.

CSE1302 Project 1 Objective The purpose of this assignment is to have you demonstrate knowledge of object-oriented design including the principles of inheritance and polymorphism. You'll explore these ideas through the use of a game that you develop. This game will involve a "shooter" style game where the player is trying to move about the screen and destroy the enemies. 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). a) Define the classes, each with a name, any attributes, and any methods needed b) Define the relationships between the classes (inheritance) Third, code up the classes in C# and make the game objects in Unity 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Outlook 2023

Authors: James Holler

1st Edition

B0BP9P1VWJ, 979-8367217322

More Books

Students also viewed these Databases questions