Giter Club home page Giter Club logo

liberation-circuit's Introduction

Liberation Circuit

This is the release version of Liberation Circuit, an RTS/programming game.

To play the pre-built binaries on Windows, download the latest release and run LibCirc.exe. There are also pre-built binaries for all platforms available on itch.io.

Vanilla has set up a Discord server to discuss strategy and things.

Screenshots

a screenshot another screenshot

Dependencies

The following libraries are required to play Liberation Circuit.

  • Allegro5
  • Allegro5 acodec
  • Allegro5 audio
  • Allegro5 dialog
  • Allegro5 image

Compiling

It should compile on any OS supported by Allegro 5 - to build, compile the c files in the source directory and link with Allegro 5. More detailed instructions are below. More detail about the source file structure is at the start of m_main.c.

The executable should go in the "bin" subdirectory (the same directory as the "init.txt" file). The game requires write access to this directory to save mission progress. If this isn't okay, you can specify a path in the fopen calls at about lines 2808 and 2860 of h_story.c. Don't try to compile the .c files in the /proc or /story subdirectories! They are code used by the game itself.

  • Manual.html has extensive detail about the game, including documentation for the in-game API.
  • Edit init.txt to set screen resolution and other options (fullscreen, sound volume, key rebinding, colourblind mode etc).

Compiling on Linux

To build on a Linux system, there are two options available.

  • make
  • do

Note that do always compiles all source files; if you want to rebuild targets only when relevant source files have changed, you should use redo instead. A version of redo can be obtained from http://news.dieweltistgarnichtso.net/bin/redo-sh.html (written in Bourne shell) or http://jdebp.eu./Softwares/redo/ (written in C++).

Compiling on macOS

To build on macOS (Sierra (10.12) with latest Homebrew and Xcode)

git clone https://github.com/linleyh/liberation-circuit.git
cd liberation-circuit
brew install allegro
./do
cd bin
libcirc

If you are using a Retina screen, you may want to set the double_fonts option to make the text larger (edit init.txt to do this).

Thanks to:

  • Nils Dagsson Moskopp for very useful feedback on the alpha and beta versions.
  • zugz (from the tigsource forum) for very useful feedback on the beta.
  • Serge Zaitsev's cucu for a very clear explanation of how to write a simple C compiler.
  • Batuhan Bozkurt's otomata for the basis of the cellular automata-based procedural music generation.

liberation-circuit's People

Contributors

apenwarr avatar bambams avatar erlehmann avatar k-finlay avatar leereilly avatar linleyh avatar melvinzhang avatar michiel-de-muynck avatar oglinuk avatar simonpuchert avatar superusercode avatar suve avatar timgates42 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.