It is a polished and improved version of the classic LinCity? game In the game, you are required to build and maintain a city. You can win the game either by building a sustainable economy or by evacuating all citizens with spaceships
dbear496 a57cbe9bb9 Merge pull request #179 from dbear496/fix-farm-tech-bonus | 4 days ago | |
---|---|---|
contrib | 1 year ago | |
data | 4 days ago | |
doc | 3 months ago | |
mk | 7 months ago | |
src | 3 weeks ago | |
.gitignore | 7 months ago | |
CHANGELOG.md | 2 months ago | |
CMakeLists.txt | 2 months ago | |
COPYING | 3 years ago | |
COPYING-data.txt | 19 years ago | |
COPYING-dll.txt | 4 months ago | |
COPYING-fonts.txt | 15 years ago | |
Dockerfile | 4 months ago | |
README.md | 6 months ago | |
iwyu-mapping | 4 months ago | |
package-ubuntu.sh | 7 months ago |
https://github.com/lincity-ng/lincity-ng
LinCity-NG is a city simulation game. It is a polished and improved version of the classic LinCity game. In the game, you are required to build and maintain a city. You can win the game either by building a sustainable economy or by evacuating all citizens with spaceships.
Note: For best results, follow the instructions included in your version of the source. That is, consult your local version of README.md. Following instructions for a different version than what you are building can cause build failures.
http://www.libsdl.org/projects/SDL_mixer/
http://www.libsdl.org/projects/SDL_image/
http://www.libsdl.org/projects/SDL_ttf/
http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0
http://www.icculus.org/physfs/
On Ubuntu, install all these by running
apt-get install libsdl2-2.0-0 libsdl2-gfx-1.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-ttf-2.0-0 libphysfs1 zlib1g libxml++2.6-2v5
https://gitlab.gnome.org/GNOME/libxslt
https://www.gnu.org/software/gettext/
If you use packages from your distribution, header files are often in separate
*-dev
packages. E.g. for zlib you may need zlib1g
and zlib1g-dev
.
On Ubuntu, install all build dependencies by running
apt-get install build-essential cmake libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libphysfs-dev zlib1g-dev libxml++2.6-dev libxslt1.1 libxslt1-dev xsltproc gettext git
To clone, configure, build, and install:
git clone https://github.com/lincity-ng/lincity-ng.git
cd lincity-ng
cmake -B build
cmake --build build --parallel
sudo cmake --install build # optional
To create a package (currently tar.gz and zip):
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel --target package
Run cmake --help
to see all the available options.
To run the game from the source directory without installing:
build/bin/lincity-ng
When the game is installed, you may run it with:
lincity-ng
From the main menu, you can quit the program by pressing ESC or ^C. This can be useful to terminate the program even if the selected video mode is not working properly.
See the ingame help [F1] for more details.
You can win Lincity-NG either by building a sustainable economy or by evacuating all citizens with spaceships.
any click:
right click:
middle click:
left click:
scroll wheel:
motion:
KP_ENTER: zoom 100%
KP5: center screen on map
KP9: scroll main screen north
KP1: scroll main screen south
KP7: scroll main screen west
KP3: scroll main screen east
KP2: scroll main screen SE
KP4: scroll main screen SW
KP6: scroll main screen NE
KP8: scroll main screen NW
arrow keys and WASD: more ways to scroll the main screen
SHIFT: scroll main screen faster
ESCAPE: switch to query tool
h: hide high buildings. Press h again to show them.
v: cycle through MiniMap-overlay modes
b: toggle between current tool and bulldoze mode
g: toggle between right click showing building or tile info
F1: Help
F12: quick save
F9: quick load
` (backtick): minimap outline
1: minimap nourishments
2: minimap unemployment
3: minimap power
4: minimap fire cover
5: mimimap cricket cover
6: minimap health cover
7: minimap traffic
8: minimap pollution
9: minimap coal
0: minimap commodity inventory
Please report bugs and suggest features to
https://github.com/lincity-ng/lincity-ng/issues.
Visit our homepage: https://github.com/lincity-ng/lincity-ng.