26F-Studio / Techmino

Techmino:方块研究所唯一官方仓库(Github)
https://www.studio26f.org
GNU Lesser General Public License v3.0
506 stars 66 forks source link

Add a BG LoD setting #922

Open Not-A-Normal-Robot opened 1 year ago

Not-A-Normal-Robot commented 1 year ago

What feature do you want to suggest to the game?

Add a level of detail setting for backgrounds. People on PC and stuff may like to have high quality backgrounds, but on mobile there may not be as much computational power. Examples of stuff we could change depending on LoD:

Level of Detail Space BG Galaxy BG Lightning BG
Low 100 rectangular stars 100 particles Entire screen flashing
Medium 200 rectangular twinkling stars 300 particles Lightning is just several lines
High 200 star-shaped twinkling stars 800 particles Detailed lightning with branches
Not-A-Normal-Robot commented 1 year ago

algorithm for the high LoD lightning effect https://gamedev.stackexchange.com/questions/71397/how-can-i-generate-a-lightning-bolt-effect