{"repo":"dev-masih/defgraph","free":true,"listed":false,"github":"https://github.com/dev-masih/defgraph","clone":"git clone https://github.com/dev-masih/defgraph.git","description":"A module to create a graph map and move inside of it for Defold","language":"Lua","stars":44,"topics":["defold-game-engine","defold-module","game-development","game","extension"],"license":"MIT","category":"game-templates","readme_excerpt":"DefGraph v4.1 Changelog and migration guild from version 3.1 to 4.x Changelog and migration guild from version 2 to 3.x Changelog and migration guild from version 1 to 2 This module contains functions to create a world map as a shape of a graph and the ability to manipulate it at any time, easily see debug drawing of this graph and move the game objects inside of this graph with utilizing auto pathfinder with different patterns. You can define a graph with several nodes and routes between them and the extension takes care of finding and moving your game object inside this graph with just one call inside player update function. The gif below shows you this exactly when the destination for all red circles will be selected shuffled between node numbers 6, 18, 14, 2, 4 and 10. As you can see staying on the routes is the number one rule for red circles and they are going to the destination with minimum distance. all you have seen in this gif except for red circles, drawn by defGraph module debug functions and all of them are customizable. defGraph is adaptable to map change so even if you add or remove routes in the middle of the game, extension tries to find the better road for you. also, you can update nodes positions, in another word you can have dynamically moving routes ;) The gif below shows you this exactly when the destination for all red points is cycled between two ends of a dynamic route. This is a community project you are welcome to contribute to it, sending PR, sugge","default_branch":null,"files":null,"tree":[],"storefront":"/r/dev-masih","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dev-masih/defgraph/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."}