filoromz / roloex

A random project -- RPG game :)
4 stars 0 forks source link

Find a better way to generate Characters on the map #11

Open filoromz opened 12 years ago

filoromz commented 12 years ago

Currently, we manually create the characters in generateCharacters() and this is very hacky! What's worse is that they are static!!! This is very very bad. We need a way to randomly create Characters and Enemies (once they are implemented) on the fly and appropriately place them on the map.

bensejas commented 12 years ago

I think to generate Characters in a 'better' way will require the use of a database. Eventually a database will be needed to save sessions, load sessions, load items etc. Anyone have any suggestions?

filoromz commented 12 years ago

sounds like a complicated way to implement it.. Probably something in the long term when we want to keep multiple character saves? But if you are confident in implementing it, go for it! :)

My other possible suggestion is to just have a prompt at the beginning asking the user the Character they want to play as, specify the name, hero class, then create the Character object then place him somewhere on the map.