-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEVELOPMENT
45 lines (44 loc) · 1.08 KB
/
DEVELOPMENT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Folder structure:
/saves: Default save directory. Ignored by git.
|
/scripts: Handy utility scripts.
|
/src
|
|-/games: Games contained in the library.
| |
| |-/$GAME: One folder per game.
| |
| |-/data: Any data specific to that game.
| |
| |-/levels: That game's levels, optionally with subfolders.
|
|-/lib
|
|-/actors: Code for actors (both the player and NPCs).
| |
| |-/ai: Contains the primary AI class and the modules it can call upon.
| |
| |-/components: Process the game view and logic.
| |
| |-/views: Components that draw to the screen.
| |
| |-/screens: Full-screen components (like menus).
|
|-/data: Contains information about items, skills, etc.
| |
| |-/generators: Data for generators.
|
|-/generators: Procedural content generation code.
| |
| |-/maps: Map generators.
| |
| |-/text: Produce strings dynamically.
|
|-/maps: Map classes (but not data or generators).
|
|-/objects: Catchall for items, terrain, etc.
| |
| |-/items: Items.
|
|-/util: Cross-game definitions and utility/helper functions.