leparlon
Artificial Worm Brain AI
This plugin allows you to drag and drop a artificial worm to your game project. The worms AI is powered by a mapped C. Elegans worm brain. How to use:Enable the plugin, create a 2d scene, add a WormNode into it, Run the project.This is a little more than a conversion from js to GD script (and Godot Node structure) from this project: https://github.com/heyseth/worm-sim Make sure to check the editor properties of the worm and customize it, I struggled a bit to make this work, so it might have issues, please report them. Check the signals the worm broadcasts as well, listen. Notes: - Worm collides with Area2D, I inform the AI that it has collided, but if it wants to go thought, it goes through. Only way to contain the worm is by setting a proper limitingArea on the editor, it is initially hardcoded to Rect (50, 50, 1000, 1000)- Worm "EATS" any Area2D that is part of a group "worm_food". You have to handle removing the food from the scene.