Completed airflower powerup abilities.
authorLMH <lmh.0013@gmail.com>
Sat, 15 Nov 2014 20:34:59 +0000 (10:34 -1000)
committerLMH <lmh.0013@gmail.com>
Sat, 15 Nov 2014 21:21:35 +0000 (11:21 -1000)
commitaf6086c5e53fd3b38921ff584abe3b621a2aa9f3
tree6f66c0fbd450e9c2dee12b825ee4ce7b5ee5d6cb
parent4869b1d4c19ab08f0daa776bff7f820608cfc881
Completed airflower powerup abilities.
Airflower is meant to be a powerup geared to speed runs and sky levels.  It makes Tux light on his feet, with a passive ability of faster max run speed and greater attainable jump height.
In addition, airflower has an active ability which allows Tux to glide for a short period of time after jumping.  The duration that Tux can glide increases with additional airflower powerups.  To glide, the user only needs to hold the jump key while falling.  Every time the player jumps they may glide for a set amount of time which is reset upon Tux touching the ground.
Tux sprites still need to be done, and it may be worth considering replacing the backflip with a launching jump when Tux has this powerup.  Of course tweaks to the values used will also likely be needed.
WHATSNEW.txt
data/images/objects/bonus_block/bonus-air_flower.png [new file with mode: 0644]
data/images/objects/bonus_block/bonus-earth_flower.png [new file with mode: 0644]
data/images/tiles.strf
src/object/player.cpp
src/object/player.hpp
src/supertux/player_status.hpp
src/worldmap/tux.cpp