NetworkProtocolNotes
From MountainfortWiki
Ghoulsblade (Talk | contribs) (Created page with "* connecting webgl+javascript in browser via html5 websocket (tcp) to lua/c++ server == movement & show/hide/create/destroy == * player * enemies/npcs * items * tiles (unit box...") |
Ghoulsblade (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | == general == | ||
+ | |||
* connecting webgl+javascript in browser via html5 websocket (tcp) to lua/c++ server | * connecting webgl+javascript in browser via html5 websocket (tcp) to lua/c++ server | ||
== movement & show/hide/create/destroy == | == movement & show/hide/create/destroy == | ||
+ | * tiles (unit box) and whole map blocks | ||
* player | * player | ||
* enemies/npcs | * enemies/npcs | ||
- | * items | + | * items (on ground and in backpack/inventory. pickup?) |
- | * | + | * buildings (look like multiple blocks but might be highlighted/tooltipped in client somehow) |
* particle effects? | * particle effects? | ||
Line 13: | Line 16: | ||
* chat | * chat | ||
* playerlist ? | * playerlist ? | ||
- | * building | + | * building placement (list of available buildings and required resources) |
+ | * items crafting inside buildings (list of available items and required resources) | ||
+ | * other building functions (switches/levers,heal/sleep?) | ||
- | == construction == | + | == player actions == |
+ | |||
+ | * use selected tool on environment (client sends which block or only direction?) | ||
+ | ** weapons : direction (ranged) | ||
+ | ** place blocks / construct walls | ||
+ | * activate object ? (switches) | ||
+ | * drop items (pickup automatic?) | ||
+ | * construct building | ||
+ | * use building (starts crafting gui) | ||
+ | |||
+ | === construction === | ||
* blocks | * blocks | ||
* buildings/workshops | * buildings/workshops | ||
* crafting | * crafting | ||
+ | |||
+ | |||
+ | |||
+ | = gameplay notes = | ||
+ | (different wiki page, just noting from chat) | ||
+ | |||
+ | * simple axe : stoneage like : use bare hands on : ground->small stones, tree->sticks, combine:stone-axe, slow but gets real wood | ||
+ | * mining stone should not be so easily achievable, need pickaxe : metal | ||
+ | ** 1 pick total per TEAM as start equip? npc trade? nope =) | ||
+ | ** a bit ore findable in soil layers ? (burn wood->coal ->smelt ore ->metal : stone anvil + coal + stone hammer -> crude metal tools) | ||
+ | *** metal hammer, metal anvil : better tools |