Find User here you can look for a user

Could really slow lighting effects be fixed?

6y
#1
I'm playing my colony for at least one year now, and in that time, many major updates came to the game, such as lighting effect and day-night cycles. I really like that update, but lighting effects have a very high impact on the game performance on android devices, and maybe (not tested) also on iOS. On my laptop this problem does not really show up, except that the laptop has to do large calculations (which it usually did when playing my colony). I tried other engine settings that could speed up performance, but they all have no (or just a little bit) impact on the game. Unfortunately, I had to disable the lighting feature and switched to day only mode because that was the only way to get rid of the problem.

I already have some suggestions how this could be fixed (I suggest not to read this if you're no software developer):
The amount of light could be stored for every tile, then render each tile with specific brightness. This could speed up game performance, but removes detail. Colored light is still supported, and light simulations can be done more accurately in less performance (think of minecraft lighting). Another problem is that this game is a web app (as far as I know), and web apps are low performance because code is not compiled. Switching completely to native java on android could fix many performance problems. This requires a lot of work, but makes android devices perform better. I also suggest switching to WebGL (as far as I know, this isn't currently implemented), on webviews and browsers that have support for it. This does rendering calculations using a GPU, which is especially made for that task. Android does have similar APIs for it as well. And as a web developer, I know this is a very complex task, since OpenGL is complex itself.

Combining those three suggestions together, the lighting problem could be solved.

Does someone have other suggestions, and is the lighting performance problem ever going to be fixed?
My Colony





Welcome
Ape Apps, LLC is an independent software development company founded in 2010 by Brandon Stecklein. Over the years, Ape Apps has published over 400 apps and games across various platforms. You can get in touch with Brandon on Twitter or by leaving a post on his wall @bastecklein
App of the Day