Assignments:CustomWackadot

From FANG

Jump to: navigation, search

Introduction

The basic Wackadot tutorial introduces you to the basic structure of Java programs and in particular how you can write games using the FANG Engine. In this assignment you are going to complete Wackadot, then customize it by putting in sound and images. By completing this assignment, you should learn the basics of:

  • Java terminology
  • syntax and structure of Java programs
  • FANG Engine capabilities
  • how to upload and play sounds in games
  • how to upload and show images in games

To make the learning more fun and productive, you should choose a partner for this assignment.

What to Do

  1. Click here to learn about how the parts of a program fit together. You will need to know this information in order to follow the Wackadot instructions. In particular, you need to know that:
  2. Make sure you have an account on a JavaWIDE enabled site. One place you can get an account is on the FANG Engine Playground.
  3. Make and test the basic Wackadot. You are welcome to make Wackadot using JavaWIDE, Eclipse or any other IDE, but you will eventually need to upload your applet to a JavaWIDE enabled site. If you are using JavaWIDE, skip the step for making a help file (for now - this is a yet-to-be-added feature of JavaWIDE).
  4. Visit the tutorial about adding sound to your game. Make your own simple game that plays your own sound when you click. Feel free to use the code from the sample on the tutorial, but be sure to upload and play your own sound. You don't need to turn in the program made on this step. Click here to get some sample sounds.
  5. Visit the tutorial about adding images to your game. Make your own simple game that shows your own image. Feel free to use the code from the sample on the tutorial, but be sure to upload and show your own image. You don't need to turn in the program made on this step. Click here to get some sample images.
  6. Using what you learned in the previous two steps about playing sounds and showing images, modify the basic Wackadot by putting in images for the dots and sounds when they collide. Use a pleasant sound when points are added and an unpleasant (but not too unpleasant) sound when points are reduced.
    Hint: you can keep all of the colors used in the game logic of Wackadot. Setting the color of an ImageSprite does not change the display of the image, but the ImageSprite does know what color it is.
  7. Add a help screen telling the player how the game works. If you are using JavaWIDE, skip the step for making a help file (for now - this is a yet-to-be-added feature of JavaWIDE).
  8. Add to and modify the comments in the game. For example, make sure both you and your partner are in the author section, and mention that your game is based upon the original Wackadot.

Extra Credit: make your game multiplayer by following the Networking Wackadot Tutorial.

Turning in Your Assignment

Submit to your instructor a link to your assignment.





Views
Personal tools
Add to 
del.icio.usAdd to 
diggAdd to 
FacebookAdd to 
favoritesAdd to 
GoogleAdd to 
MySpaceAdd to 
PrintAdd to 
SlashdotAdd to 
StumbleUponAdd to 
Twitter

Games
Games