WohlSoft / Moondust-Project

Moondust Project by Wohlstand
https://wohlsoft.ru/projects/Moondust/
GNU General Public License v3.0
246 stars 39 forks source link

Add stackable sceneries parameter #193

Open Wohlstand opened 7 years ago

Wohlstand commented 7 years ago

Add stackable sceneries parameter means allowing to complex sceneries (like towers, high trees which are can contain more than one scenery object) look more like 3D. That will be useful in case to implement support for 3D view of world maps.

Alucard648 commented 7 years ago

3D mode, ala Mode-7 seems a good idea for those, who take inspiration from games like Demon Crest or Final Fantasy when designing overworlds. Some level points can have 2d/3d property for proper looking in 3D mode.

Wohlstand commented 7 years ago

I think, you saw screenshots at DisCodehaus where Hoeloe and folks are experimenting with 3D mode on world map. The result seems heavy on LunaLua way, but possible to be natively on PGE Engine (but, there is discussion for non-GL mode where is no way to use OpenGL or it too old or broken and seems this would be available on OpenGL cards)

Alucard648 commented 7 years ago

Never seen those screen shots. Link, please. Speaking of 3d overworlds, how it would interact with overworld sections and borders from SMBX-38A?

Wohlstand commented 7 years ago

One of them, but still be experimental: unknown @Hoeloe works with it with using shaders, however, result lags and load CPU a lot. The trouble is depth buffer which I must use when I will implement that as native part of engine.

Hoeloe commented 7 years ago

To clarify, the issue is not the fact it's written with LunaLua, but that LunaLua is currently missing a feature of OpenGL that requires it to use an extremely costly alternative. As and when that is supported (which is likely to not be too far in the future), the performance hit won't be so heavy.

Wohlstand commented 7 years ago

Speaking of 3d overworlds, how it would interact with overworld sections and borders from SMBX-38A?

End of edges are will be smoothed with a fog effect and will be graduated into sky like on screenshot above

Alucard648 commented 7 years ago

One last question: will the sky color and background be customizable: It`s usual to see reddish sky in lava world and black color in space and eldritch worlds.

Wohlstand commented 7 years ago

One last question: will the sky color and background be customizable: It`s usual to see reddish sky in lava world and black color in space and eldritch worlds.

There are must be customizable by default, just by manipulating colors of same shader, custom shader, or any static image.

Hoeloe commented 7 years ago

This LunaLua library has the fog and Skybox image completely customisable.