五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

Depracated Lua Functions

2023-08-31 01:31 作者:是白不是懷特  | 我要投稿

懶得查api復(fù)制過來的 Object Functions luaSpriteMakeGraphic(tag:String, width:Int, height:Int, color:String) Deprecation of makeGraphic(); Initializes the creation of a colored fill texture. tag - The sprite object tag name to be used. width - The width value in pixels of the object. height - The height value in pixels of the object. color - The hex color value of the object. luaSpriteAddAnimationByPrefix(tag:String, name:String, prefix:String, framerate:Int = 24, loop:Bool = true) Deprecation of addAnimationByPrefix(); Adds the specified animation of the sprite object. tag - The sprite object tag name to be used. name - The name of the animation to be played. prefix - The prefix name inside the xml file to be played. framerate - How many frames per second does the animation has; Defualt is: 24. loop - Whether will the animation will loop when the animation is finished; Defualt is true. luaSpriteAddAnimationByIndices(tag:String, name:String, prefix:String, indices:String, framerate:Int = 24) Deprecation of addAnimationByIndices(); Adds the specified animation with each indices/frames of the sprite object. tag - The sprite object tag name to be used. name - The name of the animation to be played. prefix - The prefix name inside the xml file to be played. indices - The specified indices/frames of the animation; Example: 1, 2, 3. framerate - How many frames per second does the animation has; Defualt is: 24. luaSpritePlayAnimation(tag:String, name:String, forced:Bool = false) Deprecation of playAnim(); Plays an animation of the sprite object. tag - The sprite object tag name to be used. name - The name of the animation to be played. forced - Will resets if the animation is played again; Defualt is false. objectPlayAnimation(obj:String, name:String, forced:Bool = false, ?startFrame:Int = 0) Deprecation of playAnim(); Plays an animation of the sprite object. obj - The sprite object tag name to be used. name - The name of the animation to be played. forced - Will resets if the animation is played again; Defualt is false. reverse - An optional parameter, Will play the animation from the last to the start frame. startFrame - An optional parameter, The specified starting frame of the animation. characterPlayAnim(character:String, anim:String, ?forced:Bool = false) Deprecation of playAnim(); Plays an animation of the sprite object. obj - The sprite object tag name to be used. anim - The name of the animation to be played. forced - An optional parameter, Will resets if the animation is played again; Defualt is false. setLuaSpriteCamera(tag:String, camera:String = '') Deprecation of setObjectCamera(); Changes the object camera state. obj - The object tag name to be used. camera - The camera state to be set in; Can be either: camGame, camHUD or camOther. setLuaSpriteScrollFactor(tag:String, scrollX:Float, scrollY:Float) Deprecation of setScrollFactor(); Changes the object that moves along the camera when switching to characters. obj - The object tag name to be used. scrollX - The x value of the scroll to be set. scrollY - The y value of the scroll to be set. scaleLuaSprite(tag:String, x:Float, y:Float) Deprecation of scaleObject(); Sets the object size by scale properties. obj - The object tag name to be used. x - The scale.x value of the object to be set. y - The scale.y value of the object to be set. Value Setting & Getting Functions setPropertyLuaSprite(tag:String, variable:String, value:Dynamic) Deprecation of setProperty(); Sets the current property variable inside the Playstate with a new value. tag - The variable inside the Playstate or object to be used. variable - The property attribute for the object; Example: x, y, alpha, etc. value - The new value to be set. getPropertyLuaSprite(tag:String, variable:String) Deprecation of getProperty(); Gets the current property variable inside the Playstate current value. tag - The variable inside the Playstate or object to be used. variable - The property attribute for the object; Example: x, y, alpha, etc. Sound & Music Functions musicFadeIn(tag:String, duration:Float, fromValue:Float = 0, toValue:Float = 1) Deprecation of musicFadeIn(); Makes the sound fade-in at the start when of the sound. tag - The sound object tag name to be used. If you want to fade the music leave the tag parameter blank, not a nil value. This will work on fade and volume/time functions. duration - The duration length of the sound to fade-in, from fromValue and toValue. fromValue - An optional parameter, The starting volume of the fade; Goes from 0 to 1; Defualt value: 0. toValue - An optional parameter, The ending volume of the fade; Goes from 0 to 1; Defualt value: 1. musicFadeOut(tag:String, duration:Float, toValue:Float = 0) Deprecation of musicFadeOut(); Makes the sound fade-out at the end of the sound. tag - The sound object tag name to be used. duration - The duration length of the sound to fade-out, from toValue. toValue - An optional parameter, The ending volume of the fade; Goes from 0 to 1; Defualt value: 0.

Depracated Lua Functions的評論 (共 條)

分享到微博請遵守國家法律
石景山区| 旅游| 互助| 疏附县| 新郑市| 南华县| 虹口区| 凉山| 枣强县| 即墨市| 浦江县| 平阴县| 太和县| 克什克腾旗| 安康市| 酉阳| 客服| 龙江县| 石林| 连南| 宁蒗| 北票市| 启东市| 叶城县| 黑河市| 城口县| 江西省| 钟山县| 卢湾区| 台前县| 鲁山县| 宝兴县| 台前县| 内丘县| 阿拉善盟| 临城县| 彭州市| 娱乐| 富阳市| 鸡西市| 磐石市|