Not logged inOpenClonk Forum
Up Topic New Physical Implementation

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Günther
I'm no fan of excessive complexity where something simpler works, so I just implemented a "push a new speed on the stack" and "pop the last pushed speed off the stack". If two scripts try to interfere with the speed in a non-nested order, that can lead to wrong speeds, but as long as the number of pushes and pops are equal, no permanent damage will be done. And instead of making this API more complicated, I'd recommend using the stacking support of the Effects, which was implemented for just this usecase. If that's too complicated, develop suggestions for making it simpler.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill