Mirror of godotengine/godot-visual-script
Find a file
K. S. Ernest (iFire) Lee 43b0128a96
Merge pull request #76 from kitsdream/Next
Fix the display of the tree diagram and optimize performance
2023-10-28 14:23:46 -07:00
.github Update Windows workflow to use the latest Godot repository and branch 2023-10-10 14:32:11 -07:00
doc_classes Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
editor Fix the display of the tree diagram and optimize performance 2023-10-29 03:38:02 +08:00
icons Update icons and color conversion rules to simplify the palette 2022-01-29 01:03:39 +03:00
.clang-format Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
.clang-tidy Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
.gitignore add .gitignore, fix build on master 2022-09-08 03:07:52 -05:00
config.py Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
LICENSE.txt Add README and LICENSE 2022-08-24 11:55:34 +02:00
README.md Add README and LICENSE 2022-08-24 11:55:34 +02:00
register_types.cpp Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
register_types.h Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
SCsub Restore Godot engine builds. 2022-12-03 10:44:08 -08:00
visual_script.cpp Fixes for latest abstract changes on godot master 2023-10-09 21:18:32 -07:00
visual_script.h Fixes for latest abstract changes on godot master 2023-10-09 21:18:32 -07:00
visual_script_expression.cpp Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
visual_script_expression.h Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
visual_script_flow_control.cpp Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
visual_script_flow_control.h Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
visual_script_func_nodes.cpp Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
visual_script_func_nodes.h Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
visual_script_nodes.cpp Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
visual_script_nodes.h Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
visual_script_yield_nodes.cpp Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00
visual_script_yield_nodes.h Codebase Enhancements and Performance Improvements 2023-08-19 09:42:23 -07:00

VisualScript module for Godot

This repository contains the implementation of the "VisualScript" visual scripting language which used to be included directly in Godot Engine from Godot 3.0 until its removal in Godot 4.0.

See this blog post for details on why the VisualScript implementation was removed from Godot 4.0.

This repository has two aims:

  • Initially, this is a straight copy of the modules/visual_script/ folder in the Godot source tree, and can still be compiled as such to restore this functionality in Godot 4.0.
  • Ideally, if there is community interest and participation, we would like this module (which needs to be compiled together with the engine in a custom build) converted to use GDExtension via godot-cpp, allowing it to be distributed as a compiled library that can add this functionality back to a stock Godot build. As an extension, this feature could also evolved more freely, attracting new contributors with innovative ideas, and thus become a better visual scripting solution than what we had in the Godot 3.x era.

Compiling

For now this is still a C++ module, so it needs to be compiled together with Godot as a custom build.

See the Godot documentation for instructions on how to compile the engine.

To add this module, it should be cloned or copied as the modules/visual_script/ folder in the Godot source tree.

For example:

git clone https://github.com/godotengine/godot
cd godot/modules
git clone https://github.com/godotengine/godot-visual-script visual_script
cd ..
scons

Note that a custom visual_script name is given for this repository's clone, so that the final structure looks like modules/visual_script/ and not modules/godot-visual-script/.

Contributing

If you're interested in working on porting this C++ module to GDExtension, please join the #scripting (to discuss VisualScript) and #gdextension (to discuss GDExtension and godot-cpp) on the Godot Contributors Chat.