Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
Like Tree1Likes

Thread: Need help with my Text Adventure game [Please Read]

  1. #21
    MastaChief11 is offline Member
    Join Date
    Jul 2012
    Posts
    23
    Rep Power
    0

    Default Re: Need help with my Text Adventure game [Please Read]

    I got the game working, but now I think I want to turn it all into methods.

  2. #22
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default Re: Need help with my Text Adventure game [Please Read]

    Quote Originally Posted by MastaChief11 View Post
    I got the game working, but now I think I want to turn it all into methods.
    Yes, but don't stop there. Try to separate out the various nouns in your program and use them to create different classes and objects of the classes, each with their own behaviors (methods), and then try to extract out the changeable stuff, such as your level maps, into data that is held by a file and read into the program on start up.
    DarrylBurke likes this.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 3
    Last Post: 01-11-2012, 01:25 PM
  2. Newton Adventure
    By java software in forum Java Software
    Replies: 0
    Last Post: 12-29-2011, 05:46 PM
  3. read text from .pdf
    By seghri in forum Java Applets
    Replies: 0
    Last Post: 05-08-2011, 03:05 PM
  4. Text adventure setup
    By xsimsyx in forum New To Java
    Replies: 8
    Last Post: 03-16-2010, 11:32 PM
  5. Replies: 0
    Last Post: 07-07-2009, 06:22 AM

Posting Permissions

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