AliYousuf / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

Show preview box near hog when there's no special hog image for selected weapon #973

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Most weapons change the looks of the hedgehog when you select it. I.e. if you 
select the bazooka, the hedgehog holds a bazooka.

However, there are some weapons or utilities which don't change the looks of 
the hedgehog.
The weapons/utilities are the following:

* Parachute
* Flying Saucer
* Birdy
* Invulnerable
* Laser Sight
* TimeBox
* Switch Hedgehog
* Low Gravity
* Extra Damage
* Extra Time
* Shoryuken (surprisingly)

The hedgehog just looks like normal when any of those are selected (when the 
hog is standing on the ground).

My suggestion is to show a little preview box near the hog which shows the 
weapon icon of the selected weapon. The idea is to have something which is 
similar to what is shown when you have selected a bazooka while you are on a 
rope.
Of course, no such box should be shown if no weapon is selected. This would 
improve the usability of Hedgewars a bit.

Original issue reported on code.google.com by almikes@aol.com on 8 Aug 2015 at 7:48