Search results

  1. S

    Help with CoC-style game in JavaFX

    Followed your advice to use singleton pattern and it's working great now. Should be fine for my purposes but if I run into issues later I may switch to the TiTS way. Thanks for your help :)  
  2. S

    Help with CoC-style game in JavaFX

    here's a rough example of what I'm trying to accomplish: Let's say Player.java has a method called public void setGoldAmt() to set the player's current gold amount. In Controller1.java, I want to have the line: player.setGoldAmt(10) to give the player 10 gold. Then, in Controller2.java, let's...
  3. S

    Help with CoC-style game in JavaFX

    Thanks for your quick response. I read somewhere that it was poor programming ethics to avoid multiple initializations by making everything static, but I don't think they were trying to make a text porn game
  4. S

    Help with CoC-style game in JavaFX

    Long time CoC fan here. Ever since playing the game I've become interested in making my own CoC-style text adventure game with a higher degree of player customization. I've started working on my own project in JavaFX, and the UI is nearly done. I've been using the CoC source as a sort of...