5 Replies - 1480 Views - Last Post: 11 March 2013 - 09:02 PM Rate Topic: -----

#1 ILoveJava  Icon User is offline

  • D.I.C Regular

Reputation: 29
  • View blog
  • Posts: 389
  • Joined: 12-March 12

Construction of an RPG

Posted 10 March 2013 - 09:15 PM

Hey guys. I've attempted it before, but I am now going to try again with building a text-based RPG. In this thread, I will not be asking for help with coding. I am simply asking if my approach to this is right, as I don't want to start until everything is right.

Main.java
 - Main login screen, links to LoginHandler.java.
 - Links to Register.java, if account is not created.
 - If successful links to CharSelection.java

LoginHandler.java
 - Verifies login via database, sends results back to Main.java
 - Is not visible.

Register.java
 - Registers new accounts, checks against databases for doubles.

CharSelection.java
 - Displays character's on logged account.
 - Ability to create/delete characters.
 - Links to Town.java upon character selection.

CharacterHandler.java
 - Handles stats and multipliers.
 - Applies stat upgrades.
 - Handles level up's.
 - Handles equipment via EquipManager.java
 - Handles health & mana. If health = 0, the character dies, and is sent back to town.

Town.java
 - Higher ranked towns only available for higher levels
 - Displays available shops upon command (!shops (Will open Shop.java))
 - Displays taxi service upon command (!taxi Will open Taxi.java))
 - Ability to battle monsters available around the selected town (!battle (Will open Battle.java))

Shop.java
 - Displays shop properties according to Town selected (Higher ranked town's will have better equipment/potions)

Taxi.java
 - Displays towns and levels required to visit them.
 - If town selected is too high, error message stating "You cannot visit this town right now. Please acquire level n before trying again"

Battle.java
 - Handles battles.
 - If beast health = 0, +n exp added to player.
 - Random drops (Using Random(), if number is selected, item is added to inventory. Common items listed several times, rare's once).


Is This A Good Question/Topic? 0
  • +

Replies To: Construction of an RPG

#2 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10647
  • View blog
  • Posts: 39,539
  • Joined: 27-December 08

Re: Construction of an RPG

Posted 10 March 2013 - 09:19 PM

This looks like a good start. I'm going to move this to Game Programming so our members there can give you more specific feedback.
Was This Post Helpful? 0
  • +
  • -

#3 ILoveJava  Icon User is offline

  • D.I.C Regular

Reputation: 29
  • View blog
  • Posts: 389
  • Joined: 12-March 12

Re: Construction of an RPG

Posted 10 March 2013 - 09:21 PM

Thank you Mac. I posted it here just because I want to code it in Java.
Was This Post Helpful? 0
  • +
  • -

#4 anonymous26  Icon User is offline

  • D.I.C Lover

Reputation: 1
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: Construction of an RPG

Posted 11 March 2013 - 10:48 AM

This plan is okay. But there is nothing in there about how the gameplay mechanic is going to be broken down - that is where the real complexity comes in.

What you have so far is a login system and not a game.

This post has been edited by ButchDean: 11 March 2013 - 10:48 AM

Was This Post Helpful? 0
  • +
  • -

#5 ILoveJava  Icon User is offline

  • D.I.C Regular

Reputation: 29
  • View blog
  • Posts: 389
  • Joined: 12-March 12

Re: Construction of an RPG

Posted 11 March 2013 - 06:48 PM

Thanks ButchDean, but what would you suggest I do?
I can now see that I will need to change my LoginHandler to a GameHandler, so it will be the one class that will handle all database connections (Login, Logout, Level Up, Moving Town, Updating Stats, Buying equipment, etc.)
Was This Post Helpful? 0
  • +
  • -

#6 anonymous26  Icon User is offline

  • D.I.C Lover

Reputation: 1
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: Construction of an RPG

Posted 11 March 2013 - 09:02 PM

At the highest level games are composed of two components:

1. Back end.
2. Front end.

The back end deals with the game logic and anything else to do with the actual gameplay experience. The frond end deals with the non-game logic like that you are developing in terms of the login system and any menus that may follow.

What you need to do is to get your game idea down on paper and work out precisely how the user interacts with the game, and most importantly the actual game design.

What you are currently doing doesn't actually make sense and is going nowhere because it is outside the context of a finalized game design.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1