Sedang Disiapkan

java application

before u read it these are not all the requirements plz check the file below.

Part 1: Design your spaceships

Using an off the shelf image editing tool of your choice (eg GIMP) create a JPEG image, 50 pixels by 50 pixels, of a spaceship viewed from above. You should create 16 versions of the image rotated around its center, i.e. one for every 22.5 degrees around the circle. Hint: create each new image from the original and NOT from a previously rotated image, as multiple rotations will have an cumulative effect on errors in the image. You will need two spaceships with the same 16 views. Make sure you can distinguish between the two.

Write a Java application that spins one spaceship at a designated rate. To do this create one class inheriting from a JFrame, and add another class which inherits from a JPanel implementing ActionListener. The customized JPanel will effectively be the ‘palette’ containing the image of the spaceship. An animation can be created by rapidly displaying slightly different views of an array of images. Recent versions of Deitel & Deitel’s book Java: How to Program for example include a section on ‘Animating a Series of Images’ (if you have access, the book is also available for free via the Digital Library – a Quick Search using the terms >java deitel< should bring up the resource). General web searches should also provide sources. The recommended approach is to make each image a type of ImageIcon so that the JPanel’s paintComponent() method can render the image using method paintIcon(). The animation should be driven using a Swing Timer class (not to be confused with a Timer class from the [url removed, login to view] package) that can repeatedly delay execution for a designated number of milliseconds, automatically calling paintComponent() at the end of each cycle via the ActionListener whose actionPerformed method calls method repaint(). NB Do not develop a threaded solution using the Java Thread class – use of the Swing Timer class is all that is needed.

Part 2: Develop the space racing arena

In the second phase, create a Java application for the racing arena where you can ‘fly’ your two spaceships around around a central asteroid on one workstation.

The racing arena is in a window 850 pixels by 650 pixels and uses the following code to create the arena;

Color c1 = [url removed, login to view];

[url removed, login to view]( c1 );

[url removed, login to view]( 50, 100, 750, 500 ); //surrounding space

Color c2 = new Color(210, 105, 30); // RGB brown mix

[url removed, login to view]( c2 );

[url removed, login to view](150, 200, 550, 300); // asteroid

Color c3 = [url removed, login to view];

[url removed, login to view]( c3 );

[url removed, login to view]( 425, 500, 425, 600 ); // start line

Select four keys for each of the two players. Two keys are used to change the direction of their spaceship. A key press turns the spaceship 22.5 degrees left or right by changing the current image – I recommend you do not arithmetically rotate a single image during execution as it will create latency issues and does not naturally follow from the part 1 development. The other two keys are to change the speed of the spaceship. Since speed = distance/time, in this context the motion of the spaceship will be represented by pixel displacement/screen refresh. Use a scheme whereby speed is represented on a scale from 0 to 100. One press of a key either increases the speed by 10 or decreases the speed by 10. I recommend you develop one JFrame containing one JPanel which itself contains both the track and the two spaceship images, but you will also need a KeyListener to implement the keypresses.

Kemahiran: Java

Lihat lebih lanjut: java application for mobile free download, famous java applications, java app download for phone, java application projects, java application tutorial, java applications examples, java application class, java application definition, develop java application plays guess number game, develop java application plays guess number game described, develop java application plays guess number, php use java application convert audio, develop simple java application project, worth develop java application windows ce, develop flex java application tomcat server

Tentang Majikan:
( 2 ulasan ) cambridge, United Kingdom

ID Projek: #14836946

Dianugerahkan kepada:

Ahsannazir1

I am graduate in computer science having 4 years of extensive experience in programing. I have read your requirements and i can help you in your project. i have much experience in JAVA. Relevant Skills and Experience Lagi

$150 USD dalam 6 hari
(1 Ulasan)
2.4

36 pekerja bebas membida secara purata $186 untuk pekerjaan ini

dobreiiita

Hello I am Java expert and interested in this project. I have reviewed the details and attached file and confident to handle this project perfectly. Relevant Skills and Experience I will keep codes simple and we Lagi

$150 USD dalam 3 hari
(372 Ulasan)
7.4
$160 USD dalam 3 hari
(192 Ulasan)
6.6
AhmedLabib93

A proposal has not yet been provided

$70 USD dalam 3 hari
(332 Ulasan)
6.4
TopTower22

hello,how are you.i read your bid carefully. i am java/javafx expert and have full experience for 12 years. java/javafx is my top skill and passion. i can provide most quality and high speed. if you want to success Lagi

$155 USD dalam 3 hari
(44 Ulasan)
6.3
usman1493

Hey A Java expert developer is here I have good advanced experise in Java and Javafx I have good experience in creating rich GUI Feel Free to message me Regards Relevant Skills and Experience Java Javafx AWT SWING Pr Lagi

$50 USD dalam 0 hari
(53 Ulasan)
5.3
koustav2006

hi..i am good at core java programming including GUI and graphics using Swings + AWT. i can help you write the java swing program. Relevant Skills and Experience over 10 years of java programming. Proposed Milestones Lagi

$100 USD dalam 2 hari
(51 Ulasan)
5.1
yuansun235

Hello, I am proficient in java app development with java swing, Netbeans, Eclipse IDE. I'd like to have a short discussion to make clear details. Thanks, Kind Regards. Relevant Skills and Experience java swing Propo Lagi

$200 USD dalam 7 hari
(24 Ulasan)
5.0
truepai

Hi! I have read the attached document and I have understood what you need. I am skilled in java programming and also I am very interested in such job so I can do your job readily. Thanks. Relevant Skills and Experienc Lagi

$150 USD dalam 2 hari
(6 Ulasan)
4.8
$155 USD dalam 3 hari
(3 Ulasan)
4.7
Developer000

NO AUTOMATIC BIDDING........................ I am here freelancer first to discuss the details then i can sure about my price and the deadline. My way of working is not only to complete but also to provide enough u Lagi

$100 USD dalam 2 hari
(15 Ulasan)
4.2
RushService

Feel fee to contact me [url removed, login to view] me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [url removed, login to view] payment only after the work [url removed, login to view] yo Lagi

$30 USD dalam 3 hari
(10 Ulasan)
4.5
hawkscodeaus

Java - application development Relevant Skills and Experience I am good in java Proposed Milestones $200 USD - Cost

$200 USD dalam 3 hari
(2 Ulasan)
4.4
$250 USD dalam 3 hari
(11 Ulasan)
4.6
Sheraz18

150 USD Relevant Skills and Experience I have done several java games before, you can check my portfolio and have 3+ years of java programming experience. I will definitely make this better then any one else. Propose Lagi

$150 USD dalam 0 hari
(11 Ulasan)
4.2
Shankarone

This is a really long project and I need 8 days to complete it. I've worken on a project similar to this in college so I am pretty sure I can get this done Relevant Skills and Experience been coding for 4 years Propo Lagi

$333 USD dalam 8 hari
(15 Ulasan)
4.3
laxaar

Hi there, Thank you for sharing your requirement. We are a team of technocrats having 8+ years of experience in Web and Mobile design plus development. Talking about our expertise, we possess very good expertise Lagi

$250 USD dalam 3 hari
(2 Ulasan)
4.1
$155 USD dalam sehari
(3 Ulasan)
3.5
$155 USD dalam sehari
(5 Ulasan)
4.1
$250 USD dalam 3 hari
(4 Ulasan)
3.6
panjvirsingh

I have excellent expertise in this area, in fact I worked on such project 10 days ago. I would like to offer myself a probable candidate assignment as I am confident of delivering quality output. Relevant Skills and Lagi

$155 USD dalam 3 hari
(12 Ulasan)
3.6