vinorcola / citybuilderengine Goto Github PK
View Code? Open in Web Editor NEWA 2D city builder game engine writen in C++ with the Qt framework, based on the game Zeus - Master of Olympus.
A 2D city builder game engine writen in C++ with the Qt framework, based on the game Zeus - Master of Olympus.
For now, building, characters and menus' title are stored in the conf file.
It would be better to use the Qt Translation System to provide titles. Ideally, the conf files would only contains translation keys (not even english titles).
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
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 ::
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.
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"
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];
For now, all assets are living into the asset folder, and this folder must be distributed with the executable.
We should investigate on the Qt Resource System to store the images and the conf files.
Buildings have been designed in a hierarchycal way. It looks like we are running out of flexibility. For Culture building, we have 2 behaviors:
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.