![]() If 1 then the SFX variable should be set. Whifflag adds extra frames of endlag to the window if none of the hitboxes collide. ANIM_FRAME_START: What is the first frame that will be played during this window?.ANIM_FRAMES: How many frames of animation should be divided over this window's duration?.LENGTH: How many frames does this window take up?.Here is a brief list of settings for windows: Window values all seem to start with "AG_WINDOW_". >Need to know: Does an invalid window get ignored, cause a warning, or cause a crash? Starts at 1 and goes to the number of windows in the move. >Need to know: Does ATTACK refer to any kind of attack or is there a kind of attack I'm unaware of? (Used as AT_DATTACK, never used with a different direction?) Used to set data in a particular window of the attack. Set Window Value set_window_value(enum move, int window, enum variable, var value) Set_attack_value(AT_JAB, AG_HURTBOX_SPRITE, sprite_get("jab_hurt")) ![]() ![]() >Similarly, the hurtbox sprite is loaded like this: Set_attack_value(AT_JAB, AG_SPRITE, sprite_get("jab")) To load a strip called "jab.png" you may use the following code: ![]() >To use sprite_get() you'll just need the filename of an image located in the "/sprites/" folder in your mod.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |