stefanhendriks / Dune-II---The-Maker

A remake of the classic Dune 2 - The Building of a Dynasty (by Westwood Studios) with several enhancements. Like: higher screenresolutions, zooming, multiselect, skirmish play, etc.
https://www.dune2themaker.com
307 stars 27 forks source link

Add a sense of 'height'. Rockers, aircraft, etc. #151

Open stefanhendriks opened 3 years ago

stefanhendriks commented 3 years ago

Ie, rockets from an ornithopter are fired 'from above' and should go 'down'. The illusion of height can be given by adding a shadow (which is always the 'real' position) and drawing the rocket 'above' it.

The same goes for the air units, the shadows are fixed now and should be more flexible. For carry-alls this will give more of an illusion to 'pick up' a unit by 'going down'.

TODO

arkahys commented 3 years ago

I comment here, as it is really close to this. To give better impress of height, draw air units at "zoom x1,1" when on "non-passable cell" and draw it at "zoom x0,9" when picking or enter/exit a structure. Can be applied to rocket when fired and before explose with i.e a degraded from 0,9 >1,1 > 0,9