{ "author": "https://github.com/FlokiTV", "description": "This will auto setup your animations to make auto tile\nHow to seput animations\n![animation](https://i.imgur.com/jrKtGdw.png)\n![animation](https://i.imgur.com/DWPZVwA.png)", "extensionNamespace": "", "fullName": "AutoTile", "helpPath": "https://github.com/FlokiTV/GDevelop-AutoTile", "iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjMsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iSWNvbnMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMzIgMzIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMyIDMyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KCS5zdDB7ZmlsbDpub25lO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPGc+DQoJPHBhdGggZD0iTTI4LDNoLTZoLTZoLTZDOS40LDMsOSwzLjQsOSw0djZjMCwwLjYsMC40LDEsMSwxaDV2NWMwLDAuNiwwLjQsMSwxLDFoNmMwLjYsMCwxLTAuNCwxLTF2LTVoNWMwLjYsMCwxLTAuNCwxLTFWNA0KCQlDMjksMy40LDI4LjYsMywyOCwzeiIvPg0KCTxwYXRoIGQ9Ik0yOCwyMmgtNmgtNmgtNXYtNWMwLTAuNi0wLjQtMS0xLTFINGMtMC42LDAtMSwwLjQtMSwxdjZ2NmMwLDAuNiwwLjQsMSwxLDFoNmg2aDZoNmMwLjYsMCwxLTAuNCwxLTF2LTYNCgkJQzI5LDIyLjQsMjguNiwyMiwyOCwyMnoiLz4NCjwvZz4NCjwvc3ZnPg0K", "name": "AutoTile", "previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/Glyphster Pack/Master/SVG/Videogames/Videogames_tetris_videogame.svg", "shortDescription": "This will auto setup your animations to make auto tile", "version": "0.0.1", "tags": [ "tile", "automatic", "autotile" ], "dependencies": [], "eventsFunctions": [], "eventsBasedBehaviors": [ { "description": "", "fullName": "", "name": "AutoTile", "objectType": "Sprite", "eventsFunctions": [ { "description": "", "fullName": "", "functionType": "Action", "name": "doStepPreEvents", "private": false, "sentence": "", "events": [ { "colorB": 228, "colorG": 176, "colorR": 74, "creationTime": 0, "disabled": true, "folded": false, "name": "tint", "source": "", "type": "BuiltinCommonInstructions::Group", "events": [ { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tile", "=", "0" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeColor" }, "parameters": [ "Object", "\"255;255;255\"" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tile", "=", "1" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeColor" }, "parameters": [ "Object", "\"208;2;27\"" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tile", "=", "2" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeColor" }, "parameters": [ "Object", "\"126;211;33\"" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tile", "=", "3" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeColor" }, "parameters": [ "Object", "\"74;144;226\"" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tile", "=", "4" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeColor" }, "parameters": [ "Object", "\"248;231;28\"" ], "subInstructions": [] } ], "events": [] } ], "parameters": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "0" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "0" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Object", "=", "0" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "3" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "3" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeAnimation" }, "parameters": [ "Object", "=", "1" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": true, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "0" ], "subInstructions": [] } ], "actions": [], "events": [ { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "1" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"y\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "2" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "2" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"y\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "0" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "3" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"y\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "1" ], "subInstructions": [] } ], "events": [] } ] }, { "disabled": false, "folded": true, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "0" ], "subInstructions": [] } ], "actions": [], "events": [ { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "1" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"x\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "2" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "2" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"x\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "0" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "3" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"x\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "1" ], "subInstructions": [] } ], "events": [] } ] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "1" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "2" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"xy\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "1" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "2" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "1" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"xy\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "2" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "2" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "2" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"xy\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "0" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "1" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "1" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"xy\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "3" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "3" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "!=", "3" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", ">", "0" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"y2x\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] } ], "events": [ { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "2" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "0" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "1" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "1" ], "subInstructions": [] } ], "events": [] } ] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileX", "=", "3" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "!=", "3" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", ">", "0" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "SetAnimationName" }, "parameters": [ "Object", "\"x2y\"" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "PauseAnimation" }, "parameters": [ "Object" ], "subInstructions": [] } ], "events": [ { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "2" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "0" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "VarObjet" }, "parameters": [ "Object", "tileY", "=", "1" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ChangeSprite" }, "parameters": [ "Object", "=", "1" ], "subInstructions": [] } ], "events": [] } ] } ], "parameters": [ { "codeOnly": false, "defaultValue": "", "description": "Object", "longDescription": "", "name": "Object", "optional": false, "supplementaryInformation": "Sprite", "type": "object" }, { "codeOnly": false, "defaultValue": "", "description": "Behavior", "longDescription": "", "name": "Behavior", "optional": false, "supplementaryInformation": "AutoTile::AutoTile", "type": "behavior" } ], "objectGroups": [] }, { "description": "Set Tile ", "fullName": "Set Tile ", "functionType": "Action", "name": "setTile", "private": false, "sentence": "_PARAM0_ Set Tile _PARAM2_ ", "events": [ { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { "inverted": false, "value": "ModVarObjet" }, "parameters": [ "Object", "tileY", "=", "0" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "ModVarObjet" }, "parameters": [ "Object", "tileX", "=", "0" ], "subInstructions": [] } ], "events": [ { "disabled": true, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [], "actions": [ { "type": { "inverted": false, "value": "ModVarObjet" }, "parameters": [ "Object", "tile", "=", "0" ], "subInstructions": [] } ], "events": [] } ] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::ForEach", "object": "Tile", "conditions": [ { "type": { "inverted": false, "value": "CollisionNP" }, "parameters": [ "Object", "Tile", "", "", "" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "BuiltinCommonInstructions::Or" }, "parameters": [], "subInstructions": [ { "type": { "inverted": false, "value": "Egal" }, "parameters": [ "Object.CenterX()", "=", "Tile.CenterX()" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "Egal" }, "parameters": [ "Object.CenterY()", "=", "Tile.CenterY()" ], "subInstructions": [] } ] } ], "actions": [ { "type": { "inverted": false, "value": "ModVarObjet" }, "parameters": [ "Object", "tile", "+", "1" ], "subInstructions": [] } ], "events": [ { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "Egal" }, "parameters": [ "Object.CenterX()", "=", "Tile.CenterX()" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "Egal" }, "parameters": [ "Tile.CenterY()", ">", "Object.CenterY()" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ModVarObjet" }, "parameters": [ "Object", "tileY", "+", "1" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "Egal" }, "parameters": [ "Object.CenterX()", "=", "Tile.CenterX()" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "Egal" }, "parameters": [ "Tile.CenterY()", "<", "Object.CenterY()" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ModVarObjet" }, "parameters": [ "Object", "tileY", "+", "2" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, "g": 230, "r": 255, "textB": 0, "textG": 0, "textR": 0 }, "comment": "Check Left", "comment2": "" }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "Egal" }, "parameters": [ "Object.CenterY()", "=", "Tile.CenterY()" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "Egal" }, "parameters": [ "Tile.CenterX()", "<", "Object.CenterX()" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ModVarObjet" }, "parameters": [ "Object", "tileX", "+", "1" ], "subInstructions": [] } ], "events": [] }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Comment", "color": { "b": 109, "g": 230, "r": 255, "textB": 0, "textG": 0, "textR": 0 }, "comment": "Check Right", "comment2": "" }, { "disabled": false, "folded": false, "type": "BuiltinCommonInstructions::Standard", "conditions": [ { "type": { "inverted": false, "value": "Egal" }, "parameters": [ "Object.CenterY()", "=", "Tile.CenterY()" ], "subInstructions": [] }, { "type": { "inverted": false, "value": "Egal" }, "parameters": [ "Tile.CenterX()", ">", "Object.CenterX()" ], "subInstructions": [] } ], "actions": [ { "type": { "inverted": false, "value": "ModVarObjet" }, "parameters": [ "Object", "tileX", "+", "2" ], "subInstructions": [] } ], "events": [] } ] } ], "parameters": [ { "codeOnly": false, "defaultValue": "", "description": "Object", "longDescription": "", "name": "Object", "optional": false, "supplementaryInformation": "Sprite", "type": "object" }, { "codeOnly": false, "defaultValue": "", "description": "Behavior", "longDescription": "", "name": "Behavior", "optional": false, "supplementaryInformation": "AutoTile::AutoTile", "type": "behavior" }, { "codeOnly": false, "defaultValue": "", "description": "Tile", "longDescription": "", "name": "Tile", "optional": false, "supplementaryInformation": "Sprite", "type": "objectList" } ], "objectGroups": [] } ], "propertyDescriptors": [ { "value": "true", "type": "Boolean", "label": "Set if update tile", "description": "", "extraInformation": [], "hidden": false, "name": "update" } ] } ] }