Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2011
    Posts
    1
    Rep Power
    0

    Default Creating a TD for school

    Hey, I'm extremely new to this forum.
    Found it to be the most user/newbie friendly one.

    I'm creating a Tower Defense for our Java class in school.
    Partner project, but he reaallyy doesn't know much. :/

    It'll consist supposedly of a Map, Tower and Monster class.
    On the Map, i've been able to tile out the whole 800,800 window with objects called Tiles. So that I can make them towers later on.

    How am I supposed to be working on this whole thing, I've got two weeks to do this. :( And I haven't been able to figure out how to make a Monster appear and actually move via repaint()

    All help would be appreciated! :D

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    How complicated is it supposed to be? I'd imagine you use a loop to continually move the monster until it dies or reaches the other end of the map. You will also need to work in code to make it follow a certain path. You can use calls to sleep to control the speed the monster moves. Others may have some more useful advice, however; these seem to be some points to think about.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

Similar Threads

  1. Compiling at school
    By Professor in forum New To Java
    Replies: 7
    Last Post: 03-23-2011, 09:05 AM
  2. Best reason to not go to school ever
    By Zack in forum Forum Lobby
    Replies: 5
    Last Post: 11-28-2010, 04:09 AM
  3. Need help with school project!
    By jaxxx in forum New To Java
    Replies: 5
    Last Post: 03-25-2010, 08:55 PM
  4. Replies: 4
    Last Post: 11-02-2009, 03:41 PM
  5. Please help... assignment for school
    By confused2000 in forum New To Java
    Replies: 3
    Last Post: 11-12-2007, 08:12 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •