Write documentation #59

Closed
opened 2016-12-25 15:16:05 +01:00 by nik · 18 comments
nik commented 2016-12-25 15:16:05 +01:00 (Migrated from edugit.org)

For the real release, we need full documentation of the API, examples, etc.

Maybe we should start using Sphinx.

For the real release, we need full documentation of the API, examples, etc. Maybe we should start using Sphinx.
nik commented 2017-03-14 15:20:13 +01:00 (Migrated from edugit.org)
1. Basic concepts
  1.1. Games / Game Cartridges
  1.2. Worlds
  1.3. Player
    1.3.1. Inventory
  1.4. Game object types
2. Create a new game
  2.1. On the command line
    2.1.1. veripeditus-newgame
3. Constants in game package
  3.1. Meta-data about game
    NAME
    AUTHOR
    VERSION
    LICENSE
    DESCRIPTION
  3.2. Game-wide game object configuration
    HIDE_SELF
    VISIBLE_RAD_PLAYERS
    VISIBLE_RAD_ITEMS
    VISIBLE_RAD_NPCS
4. Describing game objects
  4.1. Creating a new game object
    4.1.1. Player
    4.1.2. Item
    4.1.3. NPC
    4.1.4. Location
  4.3. Defining basic attributes
    Default name, image,…
  4.2. Defining where to spawn
    4.2.1. Spawning at a point (lat lon)
    4.2.2. Spawning inside a rectangle
    4.2.3. Spawning inside a polygon
    4.2.4. Spawning at OSM objects
  4.3. Configuring interaction
    4.3.1. distnace_max, owned_max,…
    4.3.2. talkable, collectible, handoverable, placeable, passable
  4.4. Handling basic events
    4.4.1. on_talk
    4.4.2. on_collected
    4.4.3. on_pass
    4.4.4. on_handedover
    4.4.5. on_placed  
  4.4. Reacting inside events
    4.4.1. self.say
    4.4.2. Handling inventory
      has_item, has_items, drop_item, drop_items, new_item,…
    4.4.3. Attributes
  4.5. Defining allowed actions
    4.5.1. may_handover
    4.5.2. may_accept_handover
    4.5.3. may_collect
    4.5.4. may_place
    4.5.5. may_talk
    4.5.6. may_pass
5. Advanced modification of game logic
  5.1. Overriding default code
    5.1.1. Overriding spawn()
    5.1.2. Overriding isonmap()
``` 1. Basic concepts 1.1. Games / Game Cartridges 1.2. Worlds 1.3. Player 1.3.1. Inventory 1.4. Game object types 2. Create a new game 2.1. On the command line 2.1.1. veripeditus-newgame 3. Constants in game package 3.1. Meta-data about game NAME AUTHOR VERSION LICENSE DESCRIPTION 3.2. Game-wide game object configuration HIDE_SELF VISIBLE_RAD_PLAYERS VISIBLE_RAD_ITEMS VISIBLE_RAD_NPCS 4. Describing game objects 4.1. Creating a new game object 4.1.1. Player 4.1.2. Item 4.1.3. NPC 4.1.4. Location 4.3. Defining basic attributes Default name, image,… 4.2. Defining where to spawn 4.2.1. Spawning at a point (lat lon) 4.2.2. Spawning inside a rectangle 4.2.3. Spawning inside a polygon 4.2.4. Spawning at OSM objects 4.3. Configuring interaction 4.3.1. distnace_max, owned_max,… 4.3.2. talkable, collectible, handoverable, placeable, passable 4.4. Handling basic events 4.4.1. on_talk 4.4.2. on_collected 4.4.3. on_pass 4.4.4. on_handedover 4.4.5. on_placed 4.4. Reacting inside events 4.4.1. self.say 4.4.2. Handling inventory has_item, has_items, drop_item, drop_items, new_item,… 4.4.3. Attributes 4.5. Defining allowed actions 4.5.1. may_handover 4.5.2. may_accept_handover 4.5.3. may_collect 4.5.4. may_place 4.5.5. may_talk 4.5.6. may_pass 5. Advanced modification of game logic 5.1. Overriding default code 5.1.1. Overriding spawn() 5.1.2. Overriding isonmap() ```
nik commented 2017-05-09 23:58:10 +02:00 (Migrated from edugit.org)

Mentioned in commit e29484c708

Mentioned in commit e29484c708cc46137baea41c056728a096f74888
nik commented 2017-05-09 23:58:11 +02:00 (Migrated from edugit.org)

Mentioned in commit 4e5fb25c75

Mentioned in commit 4e5fb25c75bd52718dae152ae43b5e80eaab7697
nik commented 2017-05-09 23:58:11 +02:00 (Migrated from edugit.org)

Mentioned in commit bfa9147cc5

Mentioned in commit bfa9147cc50836cfedb43e8d5df1cefc90b8400c
nik commented 2017-05-09 23:58:11 +02:00 (Migrated from edugit.org)

Mentioned in commit f6bc843fe9

Mentioned in commit f6bc843fe9582b0a690cfbc4d1c0585693a596a8
nik commented 2017-05-09 23:58:11 +02:00 (Migrated from edugit.org)

Mentioned in commit cd17dc8814

Mentioned in commit cd17dc88147f5fd953abff84238dcf8469cf8bf4
nik commented 2017-05-09 23:58:15 +02:00 (Migrated from edugit.org)

Mentioned in commit f1e991bd9d

Mentioned in commit f1e991bd9d9b9351c71f2e9e72564dcbbcac8366
nik commented 2017-05-09 23:58:19 +02:00 (Migrated from edugit.org)

Mentioned in commit 083f80fd68

Mentioned in commit 083f80fd6814bf9d3d1f5d2e3d466170b3c30605
nik commented 2017-05-09 23:58:20 +02:00 (Migrated from edugit.org)

Mentioned in commit 5c52f90ede

Mentioned in commit 5c52f90edee96223b577c932d5f1f6cefc2ad63e
nik commented 2017-05-09 23:58:20 +02:00 (Migrated from edugit.org)

Mentioned in commit 672bf25872

Mentioned in commit 672bf25872dd1fe0ee6dac6c18570b824d73c29a
nik commented 2017-05-09 23:58:21 +02:00 (Migrated from edugit.org)

Mentioned in commit 55143fe175

Mentioned in commit 55143fe1751318a4e38e88837b59a47440ff1443
nik commented 2017-05-09 23:58:21 +02:00 (Migrated from edugit.org)

Mentioned in commit df78375a81

Mentioned in commit df78375a81c92721a75c28d7f0e3f367113c4e06
nik commented 2017-05-09 23:58:22 +02:00 (Migrated from edugit.org)

Mentioned in commit bf94da3638

Mentioned in commit bf94da36382475ce003352c73184655d00598d15
nik commented 2017-05-09 23:58:22 +02:00 (Migrated from edugit.org)

Mentioned in commit 35ffef2ca1

Mentioned in commit 35ffef2ca10b2f6f246295dbcf0d7135c24b32b9
nik commented 2017-05-09 23:58:22 +02:00 (Migrated from edugit.org)

Mentioned in commit 70f69b2a84

Mentioned in commit 70f69b2a84e6d1bca82b9a26cdd09c7284f2334f
nik commented 2017-05-09 23:58:22 +02:00 (Migrated from edugit.org)

Mentioned in commit a52955872b

Mentioned in commit a52955872bfc968a65406dd7bb411205ee891fd9
nik commented 2017-05-09 23:58:23 +02:00 (Migrated from edugit.org)

Mentioned in commit 3728080862

Mentioned in commit 37280808622512245597b9461b6edafa61c29cc8
nik commented 2017-05-09 23:58:24 +02:00 (Migrated from edugit.org)

Mentioned in commit 61d15d66b5

Mentioned in commit 61d15d66b51398c607899872674b8a6253d05549
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nik/veripeditus-server#59
No description provided.