GithubHelp home page GithubHelp logo

unknown-horizons / unknown-horizons Goto Github PK

View Code? Open in Web Editor NEW
1.4K 85.0 226.0 489.64 MB

Unknown Horizons official code repository

Home Page: http://unknown-horizons.org

Python 98.78% Shell 0.86% Perl 0.03% Batchfile 0.03% Roff 0.18% Dockerfile 0.07% Singularity 0.05%
game python strategy simulation

unknown-horizons's Introduction

Unknown-Horizons based on Fifengine is no longer in development. We are porting it to Godot Engine.

Please dont report any new bugs.

Only bugfixes will get acepted for maybe an last release.

New git repo for the Godot port is: https://github.com/unknown-horizons/godot-port

Unknown-Horizons

Build Status Coverage Status Translation status #unknown-horizons on Freenode

Unknown Horizons is a 2D real time strategy simulation with an emphasis on economy and city building. Expand your small settlement to a strong and wealthy colony, collect taxes and supply your inhabitants with valuable goods. Increase your power with a well balanced economy and with strategic trade and diplomacy.

Find more information about Unknown Horizons on our website.

Installation

For installation instructions check the "Downloads" section on our website.

Building from source

To get the latest version of the game, you have to build it from source:

If you want to start hacking on Unknown Horizons, check out this guide and contact us to help you get started. A development workflow with containers is also available. We have easy tasks for starters here.

Dependencies

Technology Component
Python 3 Used for everything
SQLite Maps
YAML Object files storing component based information, easily scriptable
fifengine The C++ game engine, provides Python bindings
fifechan GUI library
pyenet The multiplayer library. Can be ignored if you don't want to play multiplayer

Community

Type Where?
Discord https://discord.gg/VX6m2ZX
Bug Tracker https://github.com/unknown-horizons/unknown-horizons/issues
IRC Channel irc://irc.freenode.net/unknown-horizons
Web IRC Link https://webchat.freenode.net/?channels=unknown-horizons

More support info here.

License

This game is free software. It uses the GNU General Public License, version 2. The licenses used for music, artwork, sounds, etc. can be found here.

unknown-horizons's People

Contributors

andriykopanytsia avatar andymender avatar antagonym avatar chrisoelmueller avatar cmocanu avatar court-jus avatar craftersvk avatar danielstephens avatar greshamdanielstephens avatar greyghost avatar inventitech avatar janexx avatar jdigreze avatar jmdejong avatar jorgesumle avatar karottenreibe avatar manuelm avatar markushackspacher avatar masterofjokers avatar mesutcank avatar mihaibivol avatar nihathrael avatar nijel avatar otinn avatar ptrsk avatar rudis avatar squiddy avatar szabolcstoth avatar totycro avatar translators avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unknown-horizons's Issues

Resource checking

Building is only possible if the construction materials are in the branch office.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/21)

Creating a simple main menue

We need a simple main menu with a option to start the game, to watch the credits, to show the options dialog and to exit the game.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/25)

Buildings create resources

Every fabricating building creates resources and send them to the branch office by acre or cart. The resources are only created if all requirements are complied. Sometimes a building have to get basic materials at the branch office.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/20)

Create building possibility

Implement a possibility to build houses.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/6)

Settlements names

Every settlement get a random name out of a table with some names.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/74)

storages.py error

I became this error when i exit the game:

Traceback (most recent call last):
File `openanno.py`, line 88, in
game.main.start()
File `/home/linuxdonald/dev/svn/openanno/game/main.py`, line 62, in start
fife.run()
File `/home/linuxdonald/dev/svn/openanno/game/engine.py`, line 170, in run
self.loop()
File `/home/linuxdonald/dev/svn/openanno/game/engine.py`, line 183, in loop
f()
File `/home/linuxdonald/dev/svn/openanno/game/timer.py`, line 87, in check_tick
f(self.tick_next_id)
File `/home/linuxdonald/dev/svn/openanno/game/scheduler.py`, line 42, in tick
object.callback()
File `/home/linuxdonald/dev/svn/openanno/game/world/building/storages.py`, line 56, in tick
game.main.session.scheduler.add_new_object(self.tick, self, int(game.main.session.timer.ticks_per_second))
AttributeError: ‘NoneType’ object has no attribute ‘scheduler’

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/68)

Drawing a simple map

A main function is to draw a map. The map have to be isometric and in a diamond-form. There are no pans for a high-model in this first release.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/11)

First Production of Wood

First production of Wood from woodcutters to Carpenter

(Sorry for my english)

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/81)

Fifedit with OpenAnno Support

Make fifedit compitable with OpenAnno’s map system

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/44)

Editor: NameError: global name 'False' is not defined

map saved with old name ./../../../openanno/content/islands/island2.sqlite
Traceback (most recent call last):
File `./run.py`, line 103, in
app.run()
File `../../engine/extensions/basicapplication.py`, line 109, in run
retval = self.mainLoop()
File `../../engine/extensions/basicapplication.py`, line 130, in mainLoop
self._pump()
File `./run.py`, line 88, in _pump
self.mapsaver.saveRequested = False
NameError: global name ‘False’ is not defined
Speicherzugriffsfehler

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/76)

Blocking system

Add an blocking system to block ships on islands

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/87)

Zoomable map

The map should be zoomable by keys or the GUI.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/22)

Editor AutoSave

Autosave support for the Editor.

In German:
Es wäre auch schön wenn man einstellen könnte z.b. in der .py wie lange die Zeiten seinen sollen wo automatisch gesavet wird.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/77)

Destruct buildings

It should be possible to destroy buildings. After clicking a button, the cursor changes to a wrecking ball or something and after clicking on a building, it dissappears.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/16)

Center GUI

The GUI should be independend of the resolution. There are three parts on the bottom screen, the left part with some buttons and probably a rendering of the building/person. The right side is for the minmap. The center part should be alignd in the center of the screen.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/63)

Create controllable unit(ship) + necessary infrastructure

Create controllable unit(ship)

Necessary infrastructure:
- player class
- unit + ship classes
- necessary Listeners
- map-file containing a ship

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/2)

Build only on land

Make sure that one can only build over land.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/8)

Credits splash

We should have a scrolling black screen wich names all the contributors.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/29)

Loading splash

We should have a loading splashscreen. We can use dauerflucher’s concept arts as great images.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/30)

Simple options dialog

In this dialog the player can set the resolution, the color-deep, the volume an probably the language.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/26)

Island name on the top

The island name should be displayed on the top of the screen. Please use the `hud_cityinfo.xml` for this.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/64)

building-specific health

Buildings have to have diffenent health (e.g. walls have to sustain more hits than housing)

two ideas for accomplishing this:
- buildings have different health
- buildings all have the same health, but their health decreases at different speed

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/78)

Scrolling the map

Implement map scrolling.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/9)

FIFE package conformity

Make OpenAnno conform to the FIFE package standards:
http://wiki.fifengine.de/Fife_Package_Specification

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/3)

Graphical building menu

A simple graphical building intercace in wich you can select the building. After doubleclicking on it, the regular build process should start. The menu should be a window with a grid of icons. After a single click, a small description should appear below the grid.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/15)

Port animations/actions to sqlite database

Port the animations to an sqlite table and make them available to the engine and game.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/34)

Alpha GUI

We have toinsert our milestone GUI. The GUI should be replaced later by our major GUI.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/13)

Use fife log manager

Instead of printing debug messages via `print`, use the log manager of FIFE.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/67)

Buildingmenu

After doubleclicking an building icon in the menu, the regular build process should start. After a single click, a small description should appear below the grid.

The description has to be added. Also the double click functionality has to be added.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/39)

Ressource pickup

Ressources created by the craftsmen have to be picked up and brought to the branch office.

For 2008.1 this involves only transfer, no animation of a person picking up the goods is planned.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/41)

Create Island and Settlement Classes

Create classes to represent island and settlements.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/31)

Create right hand side menu

Create a prototype of the right hand side menu that we know from Anno 1602.

Things to consider:
- Check if it is possible to create `frames`, meaning a place in the menu where other menu parts can dynamically filled in(e.g. building/unit/city infos)

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/5)

Ship's GUI

Make it possible to build a branch office if the ship is near the coast in a restricted radius. The player have to klick on a button and then the building is hanging on the cursor as a gray ghost.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/14)

Collision free while building

It isnot possible to build two buildings over each other.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/18)

GUI news system

Important events in the game creat a news in the top bar. This can be scrolled out and marked as read. There’s also an archive with every news ever postet in this turn.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/69)

Demomap

We need a small map with all features of the first release. It should be a small island with ocean roundabout, a ship and a great landscape.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/12)

Buildchecks

Make sure that the build-checks work exactly for the buildings of various sizes. Currently it doesn’t work flawlessly, as the building is not correctly placed on the grid.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/37)

Buildchecks

Finish buildchecks to work correctly.

That includes:
- correct offset for bigger buildings.
- proper check of all tiles under big buildings.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/38)

Jukebox

We need a script that plays our music in the background.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/10)

HUD inventory

The HUD inventory shows the most important (build) resources.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/71)

Simple pathfinding for ships

Make ships move around islands.

Steps:
1. Set tiles blocking
2. Update map

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/4)

Dynamic scrolling

The scrolling should be dynamic by using a touch-sensitive area.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/23)

Dataset branch compatibility

Make sure OpenAnno is compatible with the new Datasets branch of FIFE.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/32)

Inventory

The branch office should have an inventory that the player can look at his inventories at any time.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/17)

Create grid on the map

Create a grid on the map, used for the positioning of buildings.
- grid feeling when building houses
- build houses only on the grid

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/7)

Pause menu

We should implent a simple pause menu wich allows the player to exit the game or switch to the main menu. It should appear by pressing esc or the pause key.

[> Link to originally reported Trac ticket <](http://trac.unknown-horizons.org/t/ticket/28)

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.