GithubHelp home page GithubHelp logo

vinorcola / citybuilderengine Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 2.0 13.91 MB

A 2D city builder game engine writen in C++ with the Qt framework, based on the game Zeus - Master of Olympus.

QMake 3.06% C++ 96.94%

citybuilderengine's People

Contributors

vinorcola 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

Watchers

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

citybuilderengine's Issues

What assets are being used

Hi! I was wondering how did you get the original assets.

I would like to participate on this project but I'm not very good with C++ and would make a mess out of it. I'm interested on building a WebAssembly version playable in the browser, not sure yet what language to use.

Anyway I was wondering

  • Did you re-do the assets?
  • Are you allowed to use them?
  • Can I use them?

Can't build the project [v0.0.2]

I'm trying to build the project for the first time, and I get some errors during compilation.

Most of them are related to "Q_DISABLE_COPY_MOVE".

Here is a screenshot of the compiler output ::
Screenshot from 2020-11-23 12-18-04

I couldn't find what the "Q_DISABLE_COPY_MOVE" is, so it would be helpful if you have a hint to the source of the problem.

I'm trying to compile v0.0.2 of the repo and I'm using : QtCreator 4.8.0, Qt 5.12.0 in an Ubuntu 16.04 LTS.

Thanks.

Invalid building entry point

Corner coordinates should not be used as entry point. It seems that sometime, there are. Bellow, the screenshot that show the character going back to the red position while it should have stopped at the green position.

screen

[Question] Run build

Starting build-CityBuilderEngine_Qt_5_15_2_MinGW_64_bit-Debug\debug\CityBuilderEngine.exe ...
terminate called after throwing an instance of 'YAML::BadFile'
what(): bad file

When I try run from directory no by compiler I have error about missing "Qt5Widgets.dll", "Qt5Gui.dll" , "Qt5Core.dll"

Error While Building (Windows 10)

I'm getting this error while building. I assume my configuration is set up improperly. Any ideas how to fix it?

CityBuilderEngine\src\global\conf\ModelReader.cpp:46: error: cannot convert 'const YAML::Node' to 'bool' in return
..\CityBuilderEngine\src\global\conf\ModelReader.cpp: In member function 'bool ModelReader::has(const char*) const':
..\CityBuilderEngine\src\global\conf\ModelReader.cpp:46:20: error: cannot convert 'const YAML::Node' to 'bool' in return
     return node[key];

Review building feature system

Buildings have been designed in a hierarchycal way. It looks like we are running out of flexibility. For Culture building, we have 2 behaviors:

  • Provider buildings that generate targeted walker;
  • Distributor buildings that receive targeted walker, and can then generate random walkers.
    The Gymnasium have those 2 behaviors in the same time.

We should review the way building feature works and consider the decorator pattern instead. That would be much more flexible: buildings could have as many feature they need while with hierarchy, they are restricted.

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.