Develop a visual design in java, JAVA Programming

Assignment Help:

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.


Related Discussions:- Develop a visual design in java

High quality leads and directory scraping, Project Description: (1) I wa...

Project Description: (1) I want a comprehensive list of Australian chiropractors. The data requires coming from various sources including Google but the following are obligatory

What is invoking static methods, What is Invoking static methods If a m...

What is Invoking static methods If a method or field is declared static, you access it through using the class name rather than a reference to a particular example of the class

PROBLEM 2, #The objective is to implement a menu-based system for Bank Acco...

#The objective is to implement a menu-based system for Bank Accounts in order to simulate a very simple banking system. Many structures have to be declared to manage bank accounts.

What are commonsense guidelines to prevent viruses, What are Commonsense Gu...

What are Commonsense Guidelines to prevent viruses? Discuss about Antivirus as well. Commonsense Guidelines to avoid viruses are as follows: 1. Do not open attachment of unwant

Explain about java sdk, Java SDK is not so comfortable with people used to ...

Java SDK is not so comfortable with people used to command line interpreter. IDEs contain compilers, editors, debugging facilities, drag and drop methods, etc. This compiler strive

Convert string to super ascii, A string S is said to be "Super ASCII", if i...

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''''a''''-''''z'''') and

About object, How memory allocated for a object

How memory allocated for a object

Eclipse javaj, how to write coding for money and currency

how to write coding for money and currency

Jsp retrive data, how to retrive data in one block from database by click ...

how to retrive data in one block from database by click data link in another block

Elliptic curve, In this project you need to write a program called "ECC.jav...

In this project you need to write a program called "ECC.java"to implement Elliptic Curve encryption/decryption. Specifically, your program will read parameters, plaintext and ciph

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