x


How should I begin to program an rpg?

Hello, I am a javascript programmer but i usually program applications vs a 3dgame or an rpg.

What would you fellow game programmers suggest as far as a structure? Would it be terribly inefficient to try new things as i go along? or is there a specific guideline to follow? I have done the tutorials from http://burgzerarcade.com in their hack'n'slash tutorials but i am curious if doing it my own way will hurt my game's end results.

For example. There are about 5 different class files in the tutorials for creating a set of stats. I would only be using one class file and cutting out some of the "getters and setters" to simplify the code but i cant tell if this can hurt me in the long run.

more ▼

asked Apr 04 '12 at 10:56 PM

aczwicker gravatar image

aczwicker
1 4 5 5

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

It sounds like your trying to write a game bottom-up. Instead I suggest designing all the key elements about your game and how you want the systems to work and then decide what data structures you will need to support them. The programming elements should become more clear once you know what you are trying to accomplish.

more ▼

answered Apr 04 '12 at 11:14 PM

mirswith gravatar image

mirswith
11 3 4 5

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3460
x206
x155
x119
x76

asked: Apr 04 '12 at 10:56 PM

Seen: 602 times

Last Updated: Apr 04 '12 at 11:14 PM