Another milestone reached. Now the Javascript application downloads the map from server. When downloaded the map it can display it on a canvas. Perhaps the dungeon generation is ugly but it was just something I put together in some minutes to have something to work with for starters.
At least you got the map to download! I'm interested in seeing where this goes.
Yeah, I'm taking tiny steps forward. Else all stuff might get over my head. Next objective is to figure out a good structure for the classes. I always find it difficult to be satisfied with a design.
Entity (Stuff that appears on map.)
->Unit
->Item
->Object (furniture, barrels, ...)
Inventory (Each unit has a inventory, when killed the inventory is accessible by other Units.)
Item (Stuff that exist on inventory and characters can/or have equip/ed.)
->Helmet
->Armor
->Pants
->Weapon
-->Melee
-->Ranged
->Shield
I would like some input if possible.
Greetings,
I would say if you are going agile, keep in the back of your mind containers ( Objects with Inventory ), doors and portals. This is typically stuff that can get you stuck if you dont think about this in advance.
Also, you should have document a little more about what 'map' consists of.
Cheers,
T.