BruceJohnJennerLawso / Ignition_Engine

A game engine for 2D Spaceflight Simulation games written in C++ using SFML. Cross Platform, working on Linux, Microsoft Windows, and OSX
5 stars 3 forks source link

Unified map & camera views #30

Open BruceJohnJennerLawso opened 9 years ago

BruceJohnJennerLawso commented 9 years ago

Unlike KSP and Orbiter, the advantage of Ignition being in 2d is that a separate map view may not be entirely necessary, vessels could be rendered normally until the zoom is so far out that the flag indicator is visible. This would require some fading of different graphical elements (planet image fading out as we zoom in to see the terrain) but it would look really cool and be a bit easier to use. Map view rendering stuff like orbit traces could be done as a separate render bit that is transparent at high zoom, visible far out.

Tricky to implement, but could potentially be a really nice feature for the project in making it stand out.

BruceJohnJennerLawso commented 9 years ago

This is sort of half implemented now, since the planet is rendering at huge camera view scales. I think it will be fair enough to call this implemented once the vessel flag is rendered onscreen in camera view when zoomed out, and then we can just slowly cut off the Oxygen to the map view over time.

BruceJohnJennerLawso commented 9 years ago

also should make the +/- keys zoom the camera view in large increments so we can easily change camera scale while testing