java application

已完成 已发布的 6 年前 货到付款
已完成 货到付款

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 [login to view URL] 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 = [login to view URL];

[login to view URL]( c1 );

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

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

[login to view URL]( c2 );

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

Color c3 = [login to view URL];

[login to view URL]( c3 );

[login to view URL]( 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.

Java

项目ID: #14836946

关于项目

29个方案 远程项目 活跃的6 年前

授予:

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 更多

$150 USD 在6天内
(1条评论)
2.4

有29名威客正在参与此工作的竞标,均价$189/小时

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 更多

$150 USD 在3天内
(409条评论)
7.4
AhmedLabib93

A proposal has not yet been provided

$70 USD 在3天内
(414条评论)
6.6
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 更多

$50 USD 在0天内
(205条评论)
6.7
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 更多

$155 USD 在3天内
(45条评论)
6.5
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 更多

$100 USD 在2天内
(214条评论)
6.5
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 更多

$100 USD 在2天内
(51条评论)
5.8
hawkscodeaus

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

$200 USD 在3天内
(3条评论)
5.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 更多

$155 USD 在3天内
(33条评论)
4.8
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 更多

$333 USD 在8天内
(25条评论)
4.8
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 更多

$150 USD 在0天内
(13条评论)
4.3
sureshvadlamudi8

A proposal has not yet been provided

$110 USD 在2天内
(7条评论)
4.2
GITTechBAY

As per the requirement i am ready to design and develop Relevant Skills and Experience java Swing Proposed Milestones $100 USD - final $177 USD - final NA

$277 USD 在6天内
(8条评论)
2.3
petermathu

Hi, Your job posting has caught my attention and I am keenly considering your job post. I have excellent experience in Mentioned skills. Looking Forward to hear you ..... Thanks Relevant Skills and Experience Larav 更多

$155 USD 在3天内
(1条评论)
0.0
niteshsen

Hello Dear, I am well versed in the JAVA. I have unique skills in research and all the appropriate formatting styles/methods. Relevant Skills and Experience I have checked your requirements. I have four years experi 更多

$99USD 在1天里
(0条评论)
0.0
henrikzilmer

django PHP Arduino hadoop metatrader web design python machine learning HTML,HTML5 graphic design wordpress Android unity3d Relevant Skills and Experience django PHP Arduino hadoop metatrader web design python machi 更多

$833 USD 在3天内
(0条评论)
0.0
AqPandith

Hi, I have gone check your projects descriptions so I can do it perfectly. I have 5 years+ experience in Software development, Software architecture, Java. I have completed lot of projects in Java which is related to 更多

$30 USD 在3天内
(0条评论)
0.0
pinglin

Hello. I have checked your full requirement carefully. I think this project is for me. Because this is completely matched with my skill. So I am sure I can success this project. Please contact me. Relevant Skills and 更多

$166 USD 在3天内
(1条评论)
0.0
Daphnistech

We have great expertise in providing web design, website development, and software development,Internet marketing, and various other internet and web solution services. Relevant Skills and Experience SPECIALITIES: SEO 更多

$111 USD 在3天内
(0条评论)
0.0
max3logix

Hi, I have got Rich experience in Joomla, Wordpress, Codeigniter, Cake PHP), .NET, Asp.NET, Vb.NET, HTML 5 etc.& mobile apps Relevant Skills and Experience Also have very good knowledge of javascript, jQuery Json, 更多

$208 USD 在6天内
(0条评论)
0.0
raghavendrenb

Hi, I have good programming experience in Java. I can develop any standalone and graphical application in java using swing api with eclipse / netbeans ide. Thanks, Raghav. Relevant Skills and Experience Java Programm 更多

$66 USD 在3天内
(1条评论)
0.2