{"id":23006348,"url":"https://github.com/bentlemon/dog-knight-basic-behaviour-tree","last_synced_at":"2026-05-03T06:34:56.126Z","repository":{"id":267138691,"uuid":"900368462","full_name":"bentlemon/Dog-Knight-Basic-Behaviour-Tree","owner":"bentlemon","description":"Just a showcase of a behaviour tree implementation in Unity!","archived":false,"fork":false,"pushed_at":"2024-12-27T13:01:02.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T15:13:21.133Z","etag":null,"topics":["ai","behaviour-tree","game-development","gamedev","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bentlemon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-08T15:49:17.000Z","updated_at":"2025-02-18T15:56:31.000Z","dependencies_parsed_at":"2024-12-08T16:29:24.516Z","dependency_job_id":"84b075e5-093a-44e2-a093-d050a2ecf5c2","html_url":"https://github.com/bentlemon/Dog-Knight-Basic-Behaviour-Tree","commit_stats":null,"previous_names":["bentlemon/dog-knight-"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentlemon%2FDog-Knight-Basic-Behaviour-Tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentlemon%2FDog-Knight-Basic-Behaviour-Tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentlemon%2FDog-Knight-Basic-Behaviour-Tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentlemon%2FDog-Knight-Basic-Behaviour-Tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bentlemon","download_url":"https://codeload.github.com/bentlemon/Dog-Knight-Basic-Behaviour-Tree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246837685,"owners_count":20841903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","behaviour-tree","game-development","gamedev","unity","unity3d"],"created_at":"2024-12-15T08:12:09.845Z","updated_at":"2026-05-03T06:34:56.080Z","avatar_url":"https://github.com/bentlemon.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dog Knight! U・ᴥ・U\n## Description\nA simple behaviour tree implementation in Unity (2022) with patrol and attack!\n\nWhat he does:\n* Random patrol pattern with random waiting time\n* Detect enemies \u0026 walks to them\n* Slays his enemies!! \n\n### Code\nOriginally uploaded to Gitlab, only asset code is provided here!!\n\n## Tree setup for Dog Knight\nDog knight has a simple tree setup that is the following:\n```\n        Node root = new Selector(new List\u003cNode\u003e\n        {\n            new Sequence(new List\u003cNode\u003e {\n                new EnemyInFOVRange(transform),\n                new GoToTargetAction(transform),\n                new EnemyInAttackRange(transform),\n                new AttackAction(transform)\n            }),\n            new PatrolAction(transform),\n        });\n```\n\n## Demo Video\nClick the following image to see the result! :)\n\n[![Dog Knight Demo Video](https://img.youtube.com/vi/BLsSRWvRAQ4/0.jpg)](https://www.youtube.com/watch?v=BLsSRWvRAQ4)\n\n## 3D Assets used \n- https://assetstore.unity.com/packages/3d/environments/stylized-hand-painted-dungeon-free-173934 \n- https://assetstore.unity.com/packages/3d/characters/animals/dog-knight-pbr-polyart-135227 \n- https://assetstore.unity.com/packages/3d/characters/animals/insects/fantasy-spider-236418 \n- https://assetstore.unity.com/packages/3d/props/crate-31462 \n- https://assetstore.unity.com/packages/3d/props/barrels-32975 \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbentlemon%2Fdog-knight-basic-behaviour-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbentlemon%2Fdog-knight-basic-behaviour-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbentlemon%2Fdog-knight-basic-behaviour-tree/lists"}