forked from flareteam/flare-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
128 lines (77 loc) · 4.22 KB
/
README
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# Flare
Flare is a a single-player 2D action RPG with fast-paced action and a dark fantasy style.
It is built on the FLARE engine (Free/Libre Action Roleplaying Engine). Its repo is at https://github.com/clintbellanger/flare-engine
Flare uses simple file formats (INI style config files) for most of the game data, allowing anyone to easily modify game contents. Open formats are preferred (png, ogg). Maps are edited using Tiled.
## Copyright and License
Flare (the game) is Copyright ©2010-2013 Clint Bellanger. Contributors retain copyrights to their original contributions.
The Flare Engine is released under GPL version 3 or later.
All of Flare's art and data files are released under CC-BY-SA 3.0. Later versions are permitted.
The Liberation Sans fonts version 2 are released under the SIL Open Font License, Version 1.1.
The GNU Unifont font is released under GPL v2, with the exception that embedding the font in a document does not in itself bind that document to the terms of the GPL.
## Links
* Homepage http://flarerpg.org
* Repo https://github.com/clintbellanger/flare-game
* Binaries https://sourceforge.net/projects/flare-game/
* Forums http://opengameart.org/forums/flare
* Email [email protected]
## The Simplest Setup
If you are building and running Flare Game from source, this is the simplest way to get started on all operating systems. Here you build and play Flare in a local folder instead of installing it to a standard OS folder (e.g. /usr/local or Program Files).
* Clone the flare-engine repo and build the executable.
* Clone the flare-game repo into your user directory.
* Copy the flare-engine "default" mod into the flare-game mods folder.
* Put the flare executable inside the flare-game folder
* The executable and the "mods" folder should be in the same directory
* Run Flare
## Building and Running (non-Linux)
See the Flare-Engine repo for instructions on how to build/install Flare:
https://github.com/clintbellanger/flare-engine
Flare Game is installed as a set of mods for Flare Engine. Place the contents of the "mods" folder inside Flare Engine's mods folder.
* On Windows, the mods folder will be in the same directory as the flare executable.
* On OSX, this will be inside the Flare.app folder, in Resources/mods
Then enable these mods in Flare's Configuration screen.
fantasycore
alpha_demo
### Building and Running on Linux
Clone the repos:
git clone https://github.com/clintbellanger/flare-engine
git clone https://github.com/clintbellanger/flare-game
Move to the flare-engine repo and build:
For instructions more in detail see the INSTALL file in the
flare-engine repo.
cd flare-engine
cmake . && make
From this point we have two options:
Option 1
Install the game system-wide (requires root access):
sudo make install
cd ../flare-game
cmake . && sudo make install
cd ~ #this step is important because we don't want to load mods from the repo folders
flare --game=flare-game #alternatively, launch Flare from the desktop application menu
Option 2
Run the game without installing:
cd ../flare-game
ln -s ../flare-engine/flare flare
cd mods
ln -s ../../flare-engine/mods/default default
cd ..
./flare --game=flare-game
## Settings
Settings are stored in one of these places:
$XDG_CONFIG_HOME/flare
$HOME/.config/flare
./config
Here you can enable fullscreen, change the game resolution, enable mouse-move, and change keybindings. The settings files are created the first time you run Flare.
## Save Files
Save files are stored in one of these places:
$XDG_DATA_HOME/flare
$HOME/.local/share/flare
./saves
If permissions are correct, the game is automatically saved when you exit.
## Packaging and Distributing
If you are packaging Flare Game for release (e.g. on an operating system's software repo), we suggest creating two packages.
* flare-engine the package that contains the single engine reused by several games
* flare-game, a package that requires flare-engine that only contains this game data
When distributing flare-game you may elect to omit these folders which are not used at runtime.
* art_src contains the raw files (e.g. Blender files) used to generate Flare's art.
* tiled contains the Tiled-native map files used to export Flare's maps