You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Calls a function inside a code ran previously with <ahref="#runHaxeCode">"runHaxeCode"</a>.</p>
263
263
<ul>
264
264
<li><b><spanclass="variablemarkup">funcToRun</span></b> - Function to run.</li>
@@ -268,5 +268,23 @@ <h4>Examples:</h4>
268
268
<ulclass="methoddiv">
269
269
<liclass="exampleitem"><spanclass="methodexample">runHaxeFunction('myFunction', {1, 999})</span> - Will call <spanclass="methodexample">function myFunction(1, 999)</span> in the Haxe Code.</li>
<li><b><spanclass="variablemarkup">tag</span></b> - Lua Sound nametag, use "null" for the Music from <ahref="#playMusic">"playMusic"</a>.</li>
198
-
<li><b><spanclass="variablemarkup">value</span></b> - Time to set it to, in milliseconds.</li>
198
+
<li><b><spanclass="variablemarkup">value</span></b> - Pitch to set it to.</li>
199
199
<li><b><spanclass="variablemarkup">doPause (Optional)</span></b> - Pauses and resumes sound while changing pitch, might be needed to update the Pitch properly unless the sound is already paused.</li>
<li><b><spanclass="variablemarkup">twnTag</span></b> - Tween tag for the "onTweenCompleted" function, it should be unique or it will overwrite the previous one with the same name.</li>
<li><b><spanclass="variablemarkup">ease</span> (Optional)</b> - <ahref="https://api.haxeflixel.com/flixel/tweens/FlxEase.html">Tween ease</a>, defaults to "linear".</li>
248
248
</ul>
249
249
<h4>Examples:</h4>
250
250
<ulclass="methoddiv">
251
-
<liclass="exampleitem"><spanclass="methodexample">noteTweenAlpha('mySpriteTween', 2, 180, 0.5, 'quadOut')</span> - Makes notes come sideways from the Opponent's Up note.</li>
252
-
<liclass="exampleitem"><spanclass="methodexample">noteTweenAlpha('mySpriteTween', 7, 0, 0.5, 'quadOut')</span> - Makes notes come sideways from the Player's Right note.</li>
251
+
<liclass="exampleitem"><spanclass="methodexample">noteTweenDirection('mySpriteTween', 2, 180, 0.5, 'quadOut')</span> - Makes notes come sideways from the Opponent's Up note.</li>
252
+
<liclass="exampleitem"><spanclass="methodexample">noteTweenDirection('mySpriteTween', 7, 0, 0.5, 'quadOut')</span> - Makes notes come sideways from the Player's Right note.</li>
0 commit comments