Create a game in greenfoot

Assignment Help Programming Languages
Reference no: EM132345678

Specifications

Overview:

Your task is to create a game in Greenfoot, with three types of elements: a PLAYER piece, controlled by the player; a FOOD piece that can be ‘caught' by the player; and an ENEMY, that can ‘catch' the player. If the enemy catches the player, then the game is over.

You must choose a theme for your game that is not crabs/worms and lobsters. All your elements should suit your theme, including the background and the actors. The movement of the actors should ‘make sense' as per the theme of your game. We do not expect to see the same theme or game created by any two students - be original!

Details:

At the beginning of the game, there must be one PLAYER piece on the screen. The PLAYER must be controlled by the keyboard arrows, and at minimum must have left and right movement. That is, when the left arrow key on the keyboard is pressed, the PLAYER will move to the left. When the right arrow key is pressed, the PLAYER will move to the right.

There must be at least 10 FOOD pieces on the screen at the beginning of the game. Each FOOD piece must have random movement on the screen - that is, it must turn and move randomly, and must be able to be caught by the PLAYER. When the FOOD is caught by the PLAYER, it should be removed from the screen.

There must be at least one ENEMY on screen at the beginning of the game. Each ENEMY must have random movement on screen which is different than the food (cannot use the exact same code). If the ENEMY catches the player, the game should end.

You should include sound effects that will fit the theme of your game. These can be either in-built or created by you.

Additional Details:
You can choose to use the inbuilt media for backgrounds and actors OR you can choose to add your own (see Module 4 for how to do this), or some combination of the two. If you do add your own, make sure you use PNGs with transparency for your actors, and keep your filesize small.

Additions:

General criteria: playability, accuracy, careful coding, maintainability of the code, commenting, choice of names for classes, methods (and variables if necessary).

You may like to add the following features, for extra credit:
• Add turning left (letter "A" on keyboard) and turning right (letter "D" on keyboard) to the PLAYER piece;
• Add move up (up arrow on keyboard) and move down (down arrow on keyboard) to the PLAYER piece;
• Add animation when the PLAYER is moving;
• Add animation when the FOOD is moving;
• Add animation when the ENEMY is moving;
• You can also add your own enhancements, but if you do, you must include a text file in your submission, that explains those enhancements.

Reference no: EM132345678

Questions Cloud

Record the second interest payment on december 31 : Semiannual Period-EndUnamortized PremiumCarrying Value(0)January 1, issuance$8,111 $108,111 (1)June 30, first payment 7,300 107,300.
Record the issue of bonds with a par value : Paulson Company issues 8%, four-year bonds, on January 1 of this year, with a par value of $108,000 and semiannual interest payments.
Compute the selling price of ten percent and ten year bonds : Compute the selling price of 10%, 10-year bonds with a par value of $210,000 and semiannual interest payments. The annual market rate for these bonds is 12%.
Calculate the monthly operating income that would result : Calculate the monthly operating income (or loss) that would result from changing the compensation plan to a salary of $400 per month, plus a commission of $0.8
Create a game in greenfoot : CSC72003 - Programming II - Southern Cross University - create a game in Greenfoot, with three types of elements: a PLAYER piece, controlled by the player
What is the journal entry to record first interest payment : Assume that Miami Hotel uses the straight-line method for amortization. What is the journal entry to record the first interest payment on August 31, 2018?
How much cash was paid for inventory during the year : Cold and Flu Corp. reported the following information for 2018 and 2019. Inventory is not reported as there was no change in inventory from 30 June 2018.
Discuss the major similarities and differences in accounting : Discuss the major similarities and differences in accounting for for-profit and not-for-profit organizations. Be sure to consider differences in organizational.
Prepare the journal entry for issuance assuming the bonds : On January 1, Renewable Energy issues bonds that have a $26,000 par value, mature in ten years, and pay 18% interest semiannually on June 30 .

Reviews

len2345678

7/25/2019 5:48:34 AM

You must export your game as both: • a JAR file (application); and • a Greenfoot archive (gfar) file. Please name your fileappropriately, e.g. cseton10_Ass2.jar and cseton10_Ass2.gfar Submit both of these to MySCU site under the “Assignment 2” link. Make sure you Submit (not just Save) by the due date. Your tutor will contact you if they have any questions about your submission.

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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