PuzzleScriptPlus
PuzzleScriptPlus copied to clipboard
Do tweens without doing movement (for replacement matching & animation in late turns)
The main issues with tweening is that it's limitations prevent it from being used in more complex games. Should look into a way to do visual movement that is not directly tied to the movement keywords (e.g. when moving objects without using directions). A hotfix might be some way to trigger animation on late turns.
So this turns out to be tricky. The best approach might be to add various directional keywords that represent animations, not wiping these until after the late rules then gathering all animations from them. These can only be on the right hand side of the rule (you can't match them) but they would work in late rules. Relative directions are also supported The current "auto-tweening" would then also need to be explicitly enabled with prelude flags (one for movement and one for action). There should be a warning (an error perhaps?) when you have auto-tweening but also have late rules that could invalidate existing autotweens. Might be nice to have a couple of extra animation modes, such as the "bump" animation many puzzle games have when attempting to make an invalid move.