Giter Site home page Giter Site logo

swy1985 / civone Goto Github PK

View Code? Open in Web Editor NEW
242.0 34.0 48.0 2.95 MB

An open source implementation of Sid Meier's Civilization.

Home Page: http://www.civone.org/

License: Creative Commons Zero v1.0 Universal

C# 99.95% Batchfile 0.01% Shell 0.04%
game game-2d remake civilization netcore sdl2

civone's People

Contributors

alexfolland avatar axx0 avatar cdonges avatar jakebrown58 avatar jakobmulvad avatar pashcovich avatar stefanwouters avatar swy1985 avatar sydd2005 avatar uhappylogic 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

civone's Issues

Game crashes if the unit is not on screen

If you move the unit when the unit is off screen, the game crashes.

Furthermore, after the unit completes the movement, the screen should centre on this unit for it's next move (or on any next unit waiting for the movement).

Port CivOne to MonoMac

The GTK version is working on OS X, but it would be better to make CivOne a native Cocoa application on OS X. There should be MonoMac port.

Credits Screen is not perfect

If the Credits Screen is skipped, the noise fade is not rendered correctly. There should be a transition from the background to the Civilization logo. It's currently a transition from black to the Civilization logo.

Implement city management map

  • Allow turning tiles on and off
  • Mark tiles that are in use by another city as invalid
  • Mark tiles containing other cities and enemy units as invalid

Show buildings and citizens in City View

We'd need to reverse engineer the city view code in order to get the buildings to render on the correct position.

Currently implementing an algorithm that is similar, which should be good enough until we have the original rendering figured out.
Current implementation status: https://github.com/SWY1985/CivOne/wiki/Status:-City-view-rendering

It seems likely that it will be finished soon, so I added this feature to 0.1.0-alpha.1.


For clarity, here's an overview of things to do:

  • Use the correct grid to draw buildings, so buildings don't appear off screen
  • Make sure at least a couple of houses are always drawn (prevent empty cities)
  • Draw city improvements closer to the rest of the buildings
  • Drawing order, prevent buildings from being drawn on top of each other
  • Draw all wonders/buildings

Still have interest?

Hi @SWY1985 - Have you abandoned this or just on a sabbatical? It looks interesting and it piqued my interest because I like both Civ (for years now) as well as C#.

Implement very simple, passive AI

For Alpha 1, a little passive AI implementation is required. This is what it will do:
The first implementation of the AI will build a city at the starting position, build a militia unit and fortify it. After that it will keep building militia units and delete them. If the AI player started with two settlers, the second settler will be added to the first city. If barbarian units appear, they will delete themselves.

Review Picture/Canvas system

The current picture/canvas graphics system is not really optimized, with over(mis)use of Bitmap objects. This causes the system to be slow and not really flexible.

When changing productions the shields window should be smaller

When changing production from a unit which requires more shields to a unit which requires less shields (e.g. from a phalanx to a militia as shown in the first picture), the excess shields should have a black background (as shown in the second picture).

clipboard02
clipboard03

Mouse Cursors are not working

Linux can not use the custom mouse cursor implementation of Windows. There should be a software cursor implementation for Linux. Preferable, the software cursor will be optional for Windows too.

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.