{"repo":"Boxxfish/ViewGD","free":true,"listed":false,"github":"https://github.com/Boxxfish/ViewGD","clone":"git clone https://github.com/Boxxfish/ViewGD.git","description":"A Vue-like reactive UI library for Godot 4. *Disclaimer: Does not work with the latest version of Godot*","language":"GDScript","stars":30,"topics":["godot","godot4","ui"],"license":"MIT","category":"ui-components","readme_excerpt":"Disclaimer: The code here will not work with the current version of Godot (4.4.1) due to the way setters and getters now work, and I am not actively maintaining this repo. There are more up to date projects such as Rdot you should look at instead if you want to actually use this in a game. That being said, if you're just interested in how I implemented reactivity here, feel free to continue browsing. ViewGD ViewGD is a single-file library for Godot that lets you create reactive UI components declaratively. It's based on Vue.js, so if you've used it before, you should feel right at home! The philosophy of this library is to augment Godot's UI capabilities, not replace it. Thanks to the engine's hierarchical node system, signals, lambdas, and $nodepath syntax, all the pieces are already there. The only pain point is managing internal component state, which is where this comes in. If you haven't used a reactive UI framework before, this is a good primer! Installation All you need to do to use this library is either clone or download this repo, then copy view gd.gd into your project. Doesn't matter which folder you put it in, it'll still work. Optionally, you can copy the script templates folder to cut down on boilerplate. Whenever you want to create a new UI component, create a new Control node and select the UI template! Tutorial At its core, ViewGD is just a reactive state manager. You declare some data, bind it to node properties, and those properties will update automaticall","default_branch":null,"files":null,"tree":[],"storefront":"/r/Boxxfish","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Boxxfish/ViewGD/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."}