Gameplay software, JAVA Programming

Assignment Help:

Individual Assignment

Rework Asteroids to have a different gameplay

In the previous assignments, we have developed an Asteroids game. In this assignment, we are going to use the same codebase to develop a different gameplay. The inspiration for this is Osmos, in which you control a circular "ship" that moves slowly through space and bumps into enemy circles. The collision response is that the bigger circle "eats" the smaller circle. To move on one direction, the player's ship expels a tiny fragment of itself in the opposite direction. We will be exploring variants of this different gameplay in this assignment.

Please develop the code in Java Mode. Java Mode means that each class must be in a separate file. Here is some new starting code: that builds Asteroids in Java Mode.

This project is bigger than assignments 3 and 4 and will require to you think through things in advance. You can re-use the structure we have built throghout the term.

Visual Design Matters! Grades will partially depend on how the games looks.

Common Features

  Player Ship Appearance:

  • Your ship must be either a nice-looking sphere (left image above), or a nice-looking sphere with a "mouth" (middle image above), depending on variant.
  • For mouth ships, the mouth gap must be no more than 3/4 of the diameter of the ship. The middle image above shows a ship with such a mouth.
  • The mouth can be any shape. I have used a cirle in the images because it was easy to draw.
  • Mouth collision: Test if the point on the circumference is within the enemy ship's circle. The right image shows a small yellow star where the circumference point would be.

Player Ship Motion:

  • Your ship moves by expelling tiny spheres opposite to the direction of motion. As Isaac Newton said: Every action has an equal and opposite reaction.
  • The mass of the player's ship is equal to its area. Expelling small masses decreases the mass of player's ship, and thus its area.
  • Clicking the mouse left button sets the direction in which the mass is expelled. When the mouse is pressed, construct a vector from the player's ship to the mouse location.
  • The mass expelled is 1% of the mass of player's ship.
  • The expelled masses join the collection of masses floating around in the play area. That is, they become enemy ships!

There are many instances of an enemy ship in the play area. Each enemy ship interacts with all of the rest of enemy ships and the player ship.

Enemy Ship Appearance:

  • Each enemy ship is a circle.
  • Each enemy ship starts with a random area.
  • Enemy ships are red if bigger than the player's ship, and blue if smaller.

Enemy Ship Motion:

  • Each enemy ship starts with a random velocity.
  • Enemy ships drift passively.

The primary variations of this game are how the enemy ships in the scene move and respond.

Each enemy ship must be tested for collision with all other ships, including the player ship.

Required Features

  • 0 or 7 or 8 Big Mouth

?  The player ship has a "mouth". This means that the player must be able to rotate the ship.

?  The player ship eats smaller enemy ships that fall into the player ship's mouth. At least test if the circumference point falls within the enemy circle.

?  When the player ship collides with a larger enemy ship, the enemy ship slowly "eats" the player ship incrementally according to the amount of overlap between the two ships. The player ship can get eaten!

?   Enemy ships eat each other according to overlap.

All ships "loop around", as in asteroids.


Related Discussions:- Gameplay software

Write an application for a video store, Do you provides a Complete source C...

Do you provides a Complete source Codes for this application: " a. Write an application for a video store. Place the names of 10 of your favorite movies in a combo box. Let the use

What are the object and class classes used for, The Object class is the hig...

The Object class is the highest-level class in the Java class hierarchy. The Class is used to show the classes and interfaces that are loaded by a Java program..

Explain difference between method overriding and overloading, What is the d...

What is the difference between method overriding and overloading? Overriding is a method with the same name and arguments as in a parent, whereas overloading is the same met

Need remote synchronization tool for folders and files, Need Remote Synchro...

Need Remote Synchronization tool for folders and files? Project Description:                 We want a tool to synchronize the content of one or more folders on the file syst

Define all the members of identified classes using java, A Mexican restaura...

A Mexican restaurant in London is struggling with preparing the meal ordered by it;s customer in time and has started loosing it;s business. The owner is looking at the possibility

I clicker, i am to find 75% of i clicker score.Each correct answer is worth...

i am to find 75% of i clicker score.Each correct answer is worth 2points and an incorrect 1point. Express grade as a percentage (i.e the max is 100%). e.g 1 no i clicker question

Collections, Employee get data from console

Employee get data from console

Client for nokia symbian platform, Project Description: I need Team spea...

Project Description: I need Team speak 3 client for Nokia Symbian platform. Project for Nokia E72, but should work on all Java/Symbian mobiles. Feature list should include

Homework assignment, How do you start the Energy consumption program

How do you start the Energy consumption program

Extensible messaging and presence protocol, According to XMPP Standards Fou...

According to XMPP Standards Foundation "XMPP is the Extensible Messaging and Presence Protocol, a set of open technologies for instant messaging, presence, multi-party chat, voice

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd