Articles are non-hitbox objects that your character can create. These include objects that can be placed on the stage like Orcane’s puddle, objects that create hitboxes when enemies get near like Lily, objects that follow you around like Sein, objects that block player movement like Kragg’s rock, objects that act like platforms like Shovel Knight’s Mobile Gear, and pretty much anything else you can think of.
Each modded character has access to 5 different articles: obj_article1, obj_article2, obj_article3, obj_article_solid, and obj_article_platform. The solid article blocks player movement, while the platform article will only block player movement if they land on it.
Articles have a few built-in variables that allow you to modify the way they react to certain scenarios:
Variable | Description |
---|---|
hsp | The horizontal speed of the article |
vsp | The vertical speed of the article |
free | Whether the article is in the air or not |
can_be_grounded | Determines if the article follows platforms when free == false. false by default |
ignores_walls | Determines if the article goes through walls. true by default |
hit_wall | Is true if the article hit a wall due to its own movement |
spr_dir | The direction the article is facing: 1 = right, -1 = left |
player_id | The id of the object’s owner |
hitstop | The frames remaining in hitpause. Hitpause automatically prevents movement |
uses_shader | Whether the article is recolored by the player’s shader or not |