Civilization Path

Great! :wink: Your game really reminds me Łukasz Jakowski’s Age of Civilizations or greatest Europa Universalis - consider it a great feedback, I really like those games! :smiley: I’ll try to report you bugs and ideas as soon as I’ll have some :wink: Website, however, needs some polish and I can tell you right now, that imo you could change the first background - the first impression is important and I didn’t know I’m on the game’s page until I scrolled - even a map with conquered territories and arrows indicating expansion would be great! You could also show both maps below :wink:

1 Like

Thank you, I will take this into account. Age of civilizations is one of my favorite games, but in it and many others on the android something was missing for me. I tried to translate in my game,to bring something new. I hope I succeeded.

1 Like

Version 1.0.2
Changes:
Fixed: bug with army increase due to attack bonuses
Fixed: poor quality of army, temperature and army fonts in movement lines
Add:At the end of the game, special windows were added: “Overview” and “Graph”

Fonts are made better by increasing font size and scaling 0.5
I just now realized that the same can be done with textures created in drawpixels. The lines after that should be better. I will definitely try this

5 Likes

Version 1.0.3
Changes:
Fixed: Improved lines in politics and technology
Fixed: Now flags are required. Previously, you could turn them off in the settings, from this update they are always on
Added: Trade. Now you can trade with bots.
Added: AI analyzes trade and, if it does not suit him, offers its options.
New language added: Polish. Translation is 70-80% complete. The whole game has been translated, but 2 or 3 scenarios remain, they are in English.

Updated site. After almost a month, I finally did it :slight_smile:

Now the game has a trailer. The video plays on the background of the site. But I’ll also drop a link to it here.

Updated plans.

Also, in this or the next I will do something with the lines of the graph, otherwise they look bad.
And something needs to be done with the graph, since on non-standard screens (not 16: 9) a certain step is incorrectly selected, and closer to the edge are selected those closer to the center. I think this is due to the fact that the graph is not stretched

Screens

4 Likes

Textures in technology. The textures created in drawpixels were improved by doubling the size of the texture and setting the scale to 0.5

Before and after

5 Likes

Version 1.0.4

Several corrections have occurred and a slight rebalance has occurred. Added music!
I really love a good soundtrack and therefore did everything so that it was so in my game.
There are 27 music files in the game, this could take up a huge disk space. With the help of the forum, I wrote my own extension and I hope that it will be useful to someone.

Also many thanks @sergey.lerg for the wonderful OpenAL extension.

The role of music in the game

The main goal of music is to create an atmosphere and anticipate events.
Music depends on:

  1. Scenario. You can hear Danse macabre in the scenario of the Fall of Constantinople. Second coming - no percussion in the second world war. And modern tracks in Modern World and Consequences.
  2. War. Military music begins if you or someone declared war on you. And also sometimes it begins to play, if war is soon declared. It is really useful, as it lets the player know that the AI is ready for battle. With certain conditions, of course
  3. The end of the game. Depends on victory or defeat
  4. Other special important gaming events
5 Likes

I know im boring butt i cant use password for full version could you fix problem with tehnology in lite version (when i click on tehnology it kicks me out

Yes, I’m building a version right now. crashes on some phones if the buffer is too large (it can be seen above that I did this to improve the quality). It canceled and received such artifacts.


I’m trying to fix it now.

Promotion codes for paid until March:
8689YXZSBUSS2SDBPUG76M0
C6N281E54BCU3YS1MEEPH6E
P8JAHZUX53HC9TZTZ03K6WQ
ESPH8N68HD43HQS85DQ05CJ
QMR8UU796KMP8L7RH34GASR
33DGRFVNNVB1A9QXLRA9WKH
FJNY2MJ8TKF426HJFPFRC9W

1 Like

I doubled the height of the texture and it disappeared. I do not know how this works, but there is no time to figure it out. Can I send you this version to check if it will crash when opening technologies?

Apparently fixed, uploading to google play.
I will not create a separate topic, since there is essentially no problem.

  1. If the buffer is too large(7660x1440), then on some devices it crashes:

    # 0 pc 0x189d4 /system/lib/libc.so +0
    # 1 pc 0x1a43a /system/lib/libc.so abort+59
    # 2 pc 0x1a661 /system/lib/libc.so __assert2+20
    # 3 pc 0x119c00 …=/lib/arm/libCivilizationPath.so _ZN10dmGraphics10SetTextureEPNS_7TextureERKNS_13TextureParamsE+3692
    # 4 pc 0xebef4 …=/lib/arm/libCivilizationPath.so _ZN12dmGameSystemL10NewTextureEPN5dmGui5SceneEjjN7dmImage4TypeEPKvPv+216
    # 5 pc 0x25bcfc …=/lib/arm/libCivilizationPath.so _ZN5dmGui11RenderSceneEPNS_5SceneERKNS_17RenderSceneParamsEPv+156
    # 6 pc 0xebc8c …=/lib/arm/libCivilizationPath.so _ZN12dmGameSystem13CompGuiRenderERKN12dmGameObject22ComponentsRenderParamsE+380
    # 7 pc 0xbae34 …=/lib/arm/libCivilizationPath.so _ZN12dmGameObject6RenderEPNS_16CollectionHandleE+336
    # 8 pc 0xe20b8 …=/lib/arm/libCivilizationPath.so _ZN12dmGameSystem25CompCollectionProxyRenderERKN12dmGameObject22ComponentsRenderParamsE+44
    # 9 pc 0xbae34 …=/lib/arm/libCivilizationPath.so _ZN12dmGameObject6RenderEPNS_16CollectionHandleE+336
    #10 pc 0xa51d4 …=/lib/arm/libCivilizationPath.so _ZN8dmEngine4StepEPNS_6EngineE+932

  2. At some sizes, artifacts are obtained, as above. Changed texture profiles without result. These artifacts appear if you quickly open the technology after loading the collection (at this point, the textures are installed in gui). They probably do not have time to boot and therefore get broken

In any case, now everything works. Size of texture is 3880x1440.

This is too big for many mobile devices.

2 Likes

Probably the wrong way to do it. You could take advantage of distance fields for your map assets so have them more scalable without a huge memory footprint. Are you using the texture profiles feature?

Do you mean mipmaps? I tried, artifacts remain. They appear if after loading the collection a texture is set in a short time. I think that it does not have time to create or something like that. It is strange that time is needed less if the texture is longer. I know this only from subjective experience. Tomorrow I can create a simple project to take a closer look at this.

I mean texture profilers https://defold.com/manuals/texture-profiles/ it’s possible some settings could cause issues.

Can you upload a sample of one of your images in a zip? It could be a number of possibilities.

Textures are created dynamically to be filled with drawpixels. Tomorrow I will create a simple project and attach it here

1 Like

Ok, then you should be able to generate a distance field version so that everything can be done at a low resolution while also having very smooth edges.

I really can’t repeat it. Now I checked in my game, there are no artifacts. Last time I checked for 4% of the charge, probably it pops up due to performance problems. Okay. But I was very interested in the ability to smooth the lines in a small resolution of the texture. Artefacts.zip (79.3 KB)

I tried to repeat artifacts, so there are buttons with loading collections, etc.

I did not find anything suitable in texture profiles. Found information about shaders. I will try to implement using this. Indeed, large textures are not good.

Shaders apply to the whole scene, not suitable. I see one option. Write a native extension to dynamically generate distance fields and then apply contrast. It seems to me that this is too complicated a way to smooth out just lines.

After reducing the size of the texture, I did not check, but artifacts appeared on the PC as well. In the project that I threw off above. If you quickly load the collection and click show.


On the phone too:

I think this is the same problem as in my game. Does anyone have any ideas how to solve this? In the project, to reproduce this problem, you need to quickly load the collection and set the texture. There is much more time in the game for this. I will try to understand what it depends on

I could not understand the texture. But since only lines are drawn, I used dynamic box creation. It looks exactly the same. On the graph at the end of the game this will not work, because I want to make the lines on the graph smooth. But there everything fine.

I am not a designer, but I managed to find a logo that matches the color. I think it looks good

Changes

Fixed: political system and technology buttons were not pressed immediately
Fixed: texture artifacts in technologies
Fixed: a small lag a second after entering the game
Fixed: new music did not start after the previous one, if it is of the same type
Changed: now music is played in random order, except for the first song in the script.
Changed: added outline for technology name in technology
Changed: reduced font size in the top line
Changed: reduced bonus from a political institute Cooperation + 20% -> + 12%
Changed: reduced bonus from a political institute True need + 200% -> + 100%
Added: engine logo
Added: the studied technology is now animated and displays how much the player has studied it.

I no longer want to change the lines in the background. Since it works - don’t touch it, I decided to improve it last time and broke it :confused:

I was very interested distance fields. I will try to implement this in native extension + shaders. Maybe something good will come out.

2 Likes