- Install Unity ( Download)
- Pull project from this repo, open in Unity
- Open the Assets/Scene folder and click "standard" to use default scene
- Next build standalone for your system
- File -> Build Settings (opens new window)
- Select your system
- Click "Build and Run" (use wiki-graph/Builds folder)
- Check for errors (note: In linux debug error logs recorded ~/.config/unity3d/DefaultCompany/wiki-graph)
-
Prefabs: prefabricated templates that are the equivalent of objects in the virtual world. They have components (scripts, meshes, materials) attached to them.
- Node, Links : basic types used in drawing the grapha. GameController: Equivalent to void main() method - runs the world. Must point to the Node and Link prefabs so it knows what to instantiate when it runs.
- EventSystem: Catches user mouse clicks on in-game objects and invokes appropriate listeners
- Main Camera: The camera you view the world through. Has two scripts attached to it which govern how camera moves through world.
-
Plugins - various libraries and internal code that is used for the game. I wrote "Program.cs", which includes basic incarnations of how to connect to wikipedia and drag references to other sites from it (needs further work).
-
Scenes: Folder for different variants of the world, but ours is simple
- To look around in 3D: left click + rotate mouse (standard FPS strafe)
- To open node option: Expand node/Open page: left click on node