GithubHelp home page GithubHelp logo

iamsaad / liberation-circuit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linleyh/liberation-circuit

0.0 2.0 0.0 3.07 MB

Trapped in a hostile computer system, you must make a way out - RTS/coding game

License: GNU General Public License v3.0

CMake 0.03% Shell 0.08% HTML 2.52% C 94.25% Objective-C 3.06% C++ 0.05%

liberation-circuit's Introduction

liberation-circuit

version: 1.0

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

To play the prebuilt binaries, run LibCirc.exe.

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).

It looks like this (this is github markdown):

a screenshot

another screenshot


To build using do/redo (using the .do scripts by Nils Dagsson Moskopp):

To build Liberation Circuit on any Unix-like OS like GNU/Linux, execute the “do” script. 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++).

Packages needed for Liberation Circuit on Debian GNU/Linux or Ubuntu:

  • liballegro-acodec5-dev
  • liballegro-audio5-dev
  • liballegro-dialog5-dev
  • liballegro-image5-dev
  • liballegro5-dev

To build using cmake (using the cmake scripts by Kyle Findlay; The following instructions are from u/JCanseco on reddit):

I did compile it with ccmake ncurses frontend on Antergos (based on Arch Linux).

mkdir build;cd build;ccmake ..

Adding this line to CMAKE_EXE_LINKER_FLAGS was enough:

-lallegro_image -lallegro_primitives -lallegro_color -lallegro_acodec -lallegro_audio -lallegro_dialog -lallegro_font -lallegro_main -lallegro -lm

make -j4 and it compiled fine with Allegro 5.2.2. Extracted zip data on bin folder and it did run fine.


Acknowledgements:

Nils Dagsson Moskopp (erlehmann) [email protected] for very useful feedback on the alpha and beta versions.

zugz (from the tigsource forum) for very useful feedback on the beta.

liberation-circuit's People

Contributors

k-finlay avatar linleyh avatar

Watchers

 avatar  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.