jumpBy action multication

I was wondering if it is possible to change the property of an action after creation. Say we create a jumpBy action in the init, and later, depending on how long a key is pressed, we want to multiply the height.

I guess that to make a character jump it is not a good idea to use a jump action? Probably it would be best to work with vectors and use sprite->setPosition() or something like that. But in case we want to take advantage of the existing jump action, can we modified its parameters after creation?

Auto reply. No, you can’t.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.