NetworkProtocolNotes

From MountainfortWiki

Jump to: navigation, search
Line 7: Line 7:
* 8x8x8 terrain chunk might be transferred as 512byte long utf8 text string, if blocktype is encoded as printable utf8 char
* 8x8x8 terrain chunk might be transferred as 512byte long utf8 text string, if blocktype is encoded as printable utf8 char
-
== server-sent content ==
+
== server-sent content (type registration rather than life map) ==
* tiles (box) types : texture url, name (tooltip) properties
* tiles (box) types : texture url, name (tooltip) properties
* monster/creature "models" (pixel art flat sprites first, later maybe simple modelling from big-pixel textures and rect-blocks?)
* monster/creature "models" (pixel art flat sprites first, later maybe simple modelling from big-pixel textures and rect-blocks?)
* player skin ?  
* player skin ?  
-
* mapdata (update) : tile by tile (chunk) or single tile update
 
 +
== map, show/hide/create/destroy, movement ==
-
== movement & show/hide/create/destroy ==
+
* mapdata (update) : tile by tile (chunk) or single tile update
-
 
+
** each tile consists of 1 byte tiletype info and 1 byte parameter (4 bits) + lighting (4 bits) info
-
* tiles (unit box) and whole map blocks
+
** collision (solid/empty/liquid), texture is tiletype based
 +
** special infos like direction or liquid fill level is handled via the extra parameter
* player
* player
-
* enemies/npcs
+
* enemies/npcs (mobiles)
 +
** actions/animations
* items (on ground and in backpack/inventory. pickup?)
* items (on ground and in backpack/inventory. pickup?)
* buildings (look like multiple blocks but might be highlighted/tooltipped in client somehow)
* buildings (look like multiple blocks but might be highlighted/tooltipped in client somehow)
 +
--> würde ich glaube ich erst mal nicht unbedingt machen, da man ja via klick auf ein tile (egal welches) mit der werkbank interagieren kann
* particle effects?
* particle effects?
 +
** area effects like rain/snow?
 +
* time/weather
 +
* sound/music effects
 +
* chat
== gui ==
== gui ==
Line 46: Line 53:
* blocks
* blocks
* buildings/workshops
* buildings/workshops
 +
** different sizes but simple shapes : 1x1, 2x2, 3x3 with height 1 each
* crafting
* crafting
-
 
-
 
= gameplay notes =
= gameplay notes =

Revision as of 20:29, 22 October 2010

Personal tools