Unstable tile: Implement a "slow fall" phase for sprites without "shake" and "dissolv...
authorFlorian Forster <supertux@octo.it>
Mon, 15 Mar 2010 20:21:03 +0000 (20:21 +0000)
committerFlorian Forster <supertux@octo.it>
Mon, 15 Mar 2010 20:21:03 +0000 (20:21 +0000)
commit750df62bd38c2430e109f39e8cf9861805788a24
tree5d07ba921c20cb42a94e53ff2c7f0a99918f4bbd
parent5e12ad4053693b07d10db849a4bc8277d53d751a
Unstable tile: Implement a "slow fall" phase for sprites without "shake" and "dissolve" actions.

Sprites with neither a "shake" nor a "dissolve" action now start to fall down
immediately. For the first 0.5 seconds, the gravity modifier is set to 10%
though, so that the movement is *very* slow at first. It is noticable however
and hints at the instability of the tile. Hopefully, players won't be surprised
by a falling platform anymore now.

SVN-Revision: 6612
data/images/objects/unstable_tile/iceplatform.sprite
src/object/unstable_tile.cpp
src/object/unstable_tile.hpp