Java Applet Tower Defence Game needs tweeking

Posted by Ephiras on Game Development See other posts from Game Development or by Ephiras
Published on 2012-09-22T07:44:05Z Indexed on 2012/09/22 9:50 UTC
Read the original article Hit count: 258

Filed under:
|
|
|

Hello :) i have made a tower defence Game for my computer science class as one of my major projects, but have encountered some rather fatal roadblocks. here they are

creating a menu screen (class Menu) that can set the total number of enimies, the max number of towers, starting money and the map. i tried creating a constructor in my Main class that sets all the values to whatever the Menu class passes in.

I want the Menu screen to close after a difficulty has been selected and the main class to begin.

Another problem i would really like some help with is instead of having to write entire arrays i would like to create a small segment of code that runs through an entire picture and sets up an array based on that pixels color.this way i can have multiple levels just dragged into a level folder and have the program read through them. users can even create their own.

so a 1 if its yellow, a two if blue and a 3 if purple, then everything else = 0;

you can download all the classes and code uif you'd like here sorry about having to redirect you but i wasn't sure how to efficently add a code spoiler.

help is greatly appreciated

© Game Development or respective owner

Related posts about java

Related posts about programming