A 3D city building game. Currently under construction.

Izzy 0dcd3e7918 improved shadow planes пре 4 година
assets 827e6e6abd can disable individual rendering steps пре 5 година
mods 0e0d1097a2 first whack at a core mods system пре 6 година
src 0dcd3e7918 improved shadow planes пре 4 година
.gitignore e788873b49 more notes, gitignore changes пре 6 година
COPYING 35c7c1028d build files пре 9 година
DEVELOPMENT.md b7df83a195 beginning of slider. needs better input support пре 5 година
INSTALL 35c7c1028d build files пре 9 година
LICENSE 313f634e5c Initial commit пре 9 година
Makefile.am 38755b481c fixes and improvements to core mod building пре 6 година
README.md 371844c9c2 correctly update screenshot in readme пре 5 година
autogen.sh 4a5bc317a9 autocreate m4 dir in build scripts пре 8 година
configure.ac 4d89fdc369 initial untested jpeg write support пре 6 година
defaults.ini bb5ce28e41 working terrain shader пре 6 година
nukeGLCache.sh a9723ccf71 script to wipe out the OpenGL cache for NVidia cards, at least on my пре 6 година
scanMods.sh 272cdbce7a more work on road wandering пре 6 година

README.md

EACSMB

A 3D city building game. Currently under construction.

It's written in pure C using no frameworks. Hard dependencies are Xlib, FreeType, fontconfig, libPNG, GLEW, and OpenGL 4.5. You should probably have a lot of ram as well as a real CPU. Optional dependencies are libJPEG, ALSA and libVorbis (OGG).

Current state:

Current state

Installing (ubuntu)

  • https://github.com/yzziizzy/c3dlas symlinked as src/c3dlas
  • https://github.com/yzziizzy/c_json symlinked as src/c_json

  • sudo apt-get install libx11-dev libglew-dev libfreetype6-dev libfontconfig1-dev libpng-dev

  • Optional Dependencies: sudo apt-get install libjpeg-turbo8-dev libvorbis-dev alsa-source

  • ./autogen.sh

  • make && ./src/eacsmb

If you get build errors related to AVX or SSE4.1, try removing the appropriate compile flags in src/Makefile.am and commenting out C3DLAS_USE_SIMD in src/c3dlas/c3dlas.h.

Settings

Poke around in assets/config/

Input sensitivity:

  • keyRotateSensitivity : range 0.0 - 1.0
  • keyScrollSensitivity : range 0.0 - 1.0
  • keyZoomSensitivity : range 0.0 - 1.0
  • mouseRotateSensitivity : range 0.0 - 1.0 (not currently used)
  • mouseScrollSensitivity : range 0.0 - 1.0
  • mouseZoomSensitivity : range 0.0 - 1.0

Controls (for now)

  • a/s to rotate.
  • z/x to zoom.
  • Arrow keys to move.
  • q/w to change the sun angle
  • click to spawn a model

Licensed under Affero GPL v3.0 until I get a stronger copyleft license for games.