Results 1 to 6 of 6
Like Tree1Likes
  • 1 Post By Norm

Thread: Please Help Me With This!

  1. #1
    Join Date
    Apr 2012
    Posts
    3
    Rep Power
    0

    Default Please Help Me With This!

    Hey guys, I am trying to make a zombie game but I can't figure out how to make it so that when a zombie hits me I lose (x) amount of health. Part of the problem is that 1. I need it so that i can have an armor variable, and 2. I need it so that I can have different zombies do different amounts of damage. Thanks in advance!
    ~TehJadedAssassin

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,899
    Rep Power
    25

    Default Re: Please Help Me With This!

    Did you have any questions about your code? Post the code and the questions.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    Join Date
    Apr 2012
    Posts
    3
    Rep Power
    0

    Default Re: Please Help Me With This!

    I can't post code I don't have. I need to know how to do it before I can make it :P

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,899
    Rep Power
    25

    Default Re: Please Help Me With This!

    Before you write any code you need to work out a design for the program. What steps should it take to do the job?
    You should make a list of the features you want, then work from that to what the program will have to do to accomplish those features. Then move on to writing the code to do what your design describes.

    where are you in getting a design?
    If you don't understand my response, don't ignore it, ask a question.

  5. #5
    Join Date
    Apr 2012
    Posts
    3
    Rep Power
    0

    Default Re: Please Help Me With This!

    I think I've finished most of the design but I've been sitting around thinking about how to do stuff like entity movement, health, weapons, and armor, but i can't seem to figure most of it out D: I don't like not knowing much java it's not helping much...

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,899
    Rep Power
    25

    Default Re: Please Help Me With This!

    Much of the design should not be language specific. Given a design, the program should be able to be written in many different languages. It's when you start coding that you use the language features.
    Fubarable likes this.
    If you don't understand my response, don't ignore it, ask a question.

Posting Permissions

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