A 3D city building game. Currently under construction.

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

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.