# Bounce game

**URL:** <https://forum.kirupa.com/t/bounce-game/288304>\
**Category:** programming\
**Created:** [May 13, 2009, 10:20pm UTC](https://forum.kirupa.com/t/bounce-game/288304 "2009-05-13T22:20:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xZeRo23](https://avatars.discourse-cdn.com/v4/letter/x/91b2a8/32.png) [@xZeRo23](https://forum.kirupa.com/u/xZeRo23)\
**Post date:** [May 13, 2009, 10:20pm UTC](https://forum.kirupa.com/t/bounce-game/288304/1 "2009-05-13T22:20:07Z")

</div>

I am making a physics game where the main purpose is to release the gravity for the highest bounce possible. I am having trouble with making a power up where the the ball gains speed when the spacebar is pressed and a fireball animation runs and when the key is released it goes back to normal. How do I make it so that as soon as the key is released the speed gradually decreases to its normal speed?

Regarding the fireball animation:  
Is it possible to make this effect without using the timeline actions?

[http://www.emanueleferonato.com/2007/03/03/flash-game-creation-tutorial-part-52/](http://www.emanueleferonato.com/2007/03/03/flash-game-creation-tutorial-part-52/)  
(Eye Candy - Trails section)
