Bastien Sevajol b28e436878 placement mode parameter | il y a 6 ans | |
---|---|---|
maps | il y a 6 ans | |
medias | il y a 6 ans | |
opencombat | il y a 6 ans | |
tests | il y a 6 ans | |
.gitignore | il y a 6 ans | |
.travis.yml | il y a 6 ans | |
README.md | il y a 6 ans | |
config.yaml | il y a 6 ans | |
requirements.txt | il y a 6 ans | |
run.py | il y a 6 ans | |
test_config.yaml | il y a 6 ans |
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.
Tested only under linux, debian/Ubuntu. Before install project, install OS packages:
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 redis-server
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).
Example run:
python run.py maps/001 --state maps/001/state1.xml
When unit selected:
--state-save-dir
)