{"repo":"dev-masih/defarmy","free":true,"listed":false,"github":"https://github.com/dev-masih/defarmy","clone":"git clone https://github.com/dev-masih/defarmy.git","description":"A module to create groups of game object and organize them in patterns and manage their movements for Defold","language":"Lua","stars":53,"topics":["defold-game-engine","defold-module","game-development","game","extension"],"license":"MIT","category":"game-templates","readme_excerpt":"DefArmy v1 This module helps you to create groups (army) of game objects (soldiers) and organize them in several different patterns or your customized pattern and manage moving and rotating game objects as a customizable group. The bellow git shows how DefArmy groups members and how it handles changing army pattern in real-time. This module can easily integrate with my other extension, DefGraph. You can use DefGraph to handle movements and rotation of the entire army and then use DefArmy to handle each soldier in the army. An example of integrating DefGraph with DefArmy, All green soldiers are in a separate army as red soldiers. This is a community project you are welcome to contribute to it, sending PR, suggest a feature or report a bug. Installation You can use DefArmy in your project by adding this project as a Defold library dependency. Open your game.project file and in the dependencies field under project add: https://github.com/dev-masih/defarmy/archive/master.zip Once added, you must require the main Lua module via Then you can use the DefArmy functions using this module. Official Defold game asset page for DefArmy Army Settings There are several parameters that you can assign to an army and you can change these parameters at any time. Pattern: This parameter determines the placement shape of soldiers in an army. this property is an enumeration value that can access via defarmy.PATTERN table. you can pass a custom function to create army pattern or choose one of the 5","default_branch":null,"files":null,"tree":[],"storefront":"/r/dev-masih","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dev-masih/defarmy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}