Code Search for Developers
 
 
  

development-guide.txt from Riot in Emerald city at Krugle


Show development-guide.txt syntax highlighted

Gameworld objects
-----------------
!!!!!!!!!!!!!!
1 float = 5 cm
!!!!!!!!!!!!!!

Each object is divided into three classes: Entity, Model and Spatial.

* Entity holds interaction logic, ie. player actions directly calls 'action'
method on the Entity object. If developing class extends DefaultEntity, it
effectively inherits the ability to create actions as public void nonparameter
methods, where method name marks one action. For example, Lamp entity extends
DefaultEntity, and it has few actions: Turn on and Turn off. Those actions are
translated by DefaultEntity action implementation to public void methods named
turn_on and turn_off, so Lamp entity has two methods:

    public void turn_on() {...};

and

    public void turn_off() {...};

which holds the exact behaviour code when player invokes Turn on and Turn off
action onto the Lamp object.

* Model holds any state logic and possible developer knowledge about an object.
For example, in Atm example, Atm asks its Model for accounts, account state, pin
check and other. In Computer example, ComputerModel holds information about CPU speed,
free memory and other. Model represents somewhat complicated property holder.

* Spatials are JMonkey Spatials (TODO use Nodes) which holds any state or behaviour
specific to JMonkey space, ie. local translation in the sector, in the world and similar.
Also, the Spatial is 3D object drawn in the world.


When desired behaviour is already implemented in some class (ie. the throwing action)
simply mixin desired class into the target class (wiki mixin).


Editor
------
Editing steps:
1. draw floorplan 
2. set cameras
3. furniture



See more files for this project here

Riot in Emerald city

Cyberpunk third-person 2100. noir RPG thriller using JMonkey. Its going to be mix between Bloodnet, Neuromancer, DeusEx in gameplay, with pieces of Uplink and many other mini-games for dealing with variety of tasks (lockpicking, hacking...)

Project homepage: http://sourceforge.net/projects/riot-in-ecity
Programming language(s): Java,XML
License: other

  brainstormings/
    execution-process.html
    new-it-27-07-2007.html
    skill-mechanics-20-10-2006.html
    skill-mechanics-27-07-2007.html
  presentation/
    action-background.png
    background.png
    pn-header.png
    pn-logo.png
    riot-header.png
    riot-in-ecity.odp
    riot-logo-big.jpg
    riot-natuknice.odt
    sflogo.png
    smflogo.jpg
  storyline/
    README
    characters.odt
    setting.odt
    storyline.odt
  03-01-2007.xml
  15-02-2007.xml
  17-04-2007.xml
  18-04-2007.xml
  20-03-2007.xml
  21-02-2007.xml
  22-05-2007.xml
  25-03-2007.xml
  26-04-2007.xml
  27-07-2007.xml
  3d-models-special-objects_hr.txt
  chip-identify-minigame_hr.txt
  concept-ideas_hr.odt
  development-guide.txt
  dict.txt
  directory-listing.txt
  equipment_en.txt
  equipment_hr.txt
  first_build_task_list.txt
  hacking_en.txt
  icons.txt
  in-game-keyboard-commands_hr.txt
  new-IT-notes_hr.odt
  presentation.odp
  storyline_hr.txt
  todo.txt
  world-suggestions_hr.odt