Bastien Sevajol ba34616dc2 Issue #46: write xml file and xsd, begin state loader 6 лет назад
maps Issue #46: write xml file and xsd, begin state loader 6 лет назад
medias man firing when crawl mode 6 лет назад
opencombat Issue #46: write xml file and xsd, begin state loader 6 лет назад
tests Move with rotation: sometimes, rotation skiped. Closes #43 6 лет назад
.gitignore weapon images 6 лет назад
.travis.yml Create .travis.yml 6 лет назад
README.md Update README.md 6 лет назад
config.yaml Issue #46: write xml file and xsd, begin state loader 6 лет назад
requirements.txt Issue #46: write xml file and xsd, begin state loader 6 лет назад
run.py Issue #46: write xml file and xsd, begin state loader 6 лет назад
test_config.yaml Adopt new move algorithms and add move with rotation 6 лет назад

README.md

OpenCombat

Build Status Coverage Status Codacy Badge

Open source close combat inspired game. Presentation here: http://www.closecombatseries.net/CCS/modules.php?name=Forums&file=viewtopic&t=11696

Important note: OpenCombat is in development and is developed under linux. Windows support is planned but not actually tested.

Install

OS require: build-essential libsdl1.2debian libsdl-image1.2 libsdl-image1.2-dev libsdl-ttf2.0-0 libsdl-ttf2.0-dev libsdl-mixer1.2 libsdl-mixer1.2-dev

Python version: 3.5+

Considering in your virtual environment, install synergine2:

git clone https://github.com/buxx/synergine2.git
cd synergine2
python setup.py develop
pip install -e ".[cocos2d]"

Then install additional or specific version of development environment:

pip install -r requirements.txt

You also need a running redis server (used db number is 0, soon configurable).

Run

Example run:

python run.py maps/003

Actual keys

When unit selected:

  • R: run
  • C: crouch
  • M: move
  • F: fire (not implemented)