RPG help

Jan 27, 2012 at 3:08am
hello i need some help programing an rpg first i need some help With the characters, how do i make it so that the character can base stats. for example how would you go about linking an attack, defense, and speed stat to a character.
secondly for movement how would i set up an X and Y axis so that when i press up on my keyboard the Y axis increases by 1 and so on with the other keys
Thirdly how would i make it so that i can have an area i stand can have multiple different properties. for example how would i make it so, as in pokemon, if your in water you can encounter enemies like in grass but you couldn't ride a bike like you could in grass.
Last edited on Jan 27, 2012 at 3:09am
Jan 27, 2012 at 3:11am
1) You will need to look into data structures.

2) This depends on the medium you're working in. Console? Window? Are there graphics involved? 2D or 3D?

3) Refer to question.

You'll be surprised how much you can do using data structures. Welcome to OOP
Jan 27, 2012 at 3:13am
the medium is window and the graphics would be 2D. and thanks for the tip with data structures
Jan 27, 2012 at 4:08am
You'll need to look into keyboard listening and events for the movement then
Topic archived. No new replies allowed.