Coder Social home page Coder Social logo

bedalton / openc2e Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openc2e/openc2e

0.0 1.0 0.0 15.11 MB

openc2e is an open-source game engine for the games in the Creatures series.

License: GNU Lesser General Public License v2.1

CMake 1.46% C 0.79% C++ 93.67% Shell 0.10% Perl 0.21% Python 2.49% NSIS 1.19% CSS 0.09%

openc2e's Introduction

openc2e logo

openc2e

openc2e is an open-source game engine intended to run all the games in the Creatures series.

Games

openc2e is intended to support:

  • Creatures (1996)
  • Creatures 2 (1998)
  • Creatures 3 (1999)
  • Docking Station (2001)
  • Creatures Playground (1999)
  • Creatures Adventures (2000)

Status

Working

  • Agents (COBs) work
  • Imperfect physics
  • Creatures biochemistry
  • Sound effects

Todo

  • Actual creatures (C3+ creatures work somewhat, C1 and C2 ones don't work at all)
  • Physics improvements (Especially C3+)
  • Network ability (the Docking Station warp)
  • Serialization (world saving, creature exporting, ...)

There are lots of open issues that still need solving.

Building

Dependencies

openc2e depends on:

  • SDL2
    • SDL2_mixer
  • re2c
  • Python
  • CMake
  • Boost.Serialization (optional)

Linux

Ubuntu

On Ubuntu 18.10 and up, you'll need these packages:

sudo apt-get install \
  build-essential \
  libsdl2-dev \
  libsdl2-mixer-dev \
  cmake\
  libpng-dev \

macOS

Install dependencies using Homebrew:

brew install cmake qt

Windows

Install Python, and Visual Studio's C++ CMake Tools for Windows.

Open the folder in Visual Studio and it will automatically run CMake and set up the build system.

Compiling

Create a new build directory and compile:

cmake -B build .
make -C build openc2e -j4

Running

You should provide a path to a game's data files with the -d or --data-path flag:

./build/openc2e -d /path/to/Creatures2

The engine will try to guess the game based on files in the directory. If it can't decide, it will default to C3/DS.

Advanced Usage

To see an overview of all available options, use -h / --help:

./build/openc2e --help

Choosing a specific engine to emulate

You can tell openc2e to run as a specific game type with the -g / --gametype flag. The following values are supported:

Flag Value Games Covered
c1 Creatures 1
c2 Creatures 2
c3 Creatures 3, Docking Station
cv Creatures Adventures, Creatures Playground, Creatures Village
sm Sea Monkeys

This may be useful if you are building a minimal testing environment for a specific game engine.

For example, if you wanted to run as the C2 engine:

./build/openc2e -g c2 -d /path/to/minimaldata

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.