-
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
SLib is a Godot library designed to simplify and enhance your development experience. It provides a set of ready-to-use, standard codes that eliminate the need to write repetitive and lengthy scripts. SLib is lightweight, easy to install, and helps make your code more readable and maintainable.
- Lightweight: Requires minimal space in your application (less than 100KB).
- Easy Installation: Simple setup process to get you started quickly.
- Code Readability: Transforms complex and unreadable code into clear and understandable expressions.
- Efficiency: Reduces the need for duplicate code and allows execution of multiple lines with a single command.
- Standardization: Provides standard methods for common tasks, optimizing your app for any platform.
To start using SLIB, follow these steps:
-
Get SLib Main Script: Download and copy
SLib.gdin your project directory. Download from releases -
AutoLoad Setup: Go to
Project Settings > Auto Load, and addres://SLib.gdwith the nameSLibin project autoload.
-
Get SLibConfig: Download
SLibConfig.zipfrom releases. -
Import Plugin: Open your project, go to
AssetLib, click onImport...and importSLibConfig.zipfile. -
Activate Plugin: Go to
Project > Project Settings > Pluginsand setSLibConfigstatus to enable.
See here for set up automation.
-
Reload Project: To apply changes use
Project > Reload Current Project. -
Check Plugin: Go to
Project > Project Settings > Generaland searchSLib/, if you have settings inSLib/plugin installed. - Check Script: Open a GDScript file and paste this code in the file and wait a few moments, if you do not receive an error, the installation is complete, and you can erase the code:
func _ready():
SLib.MergeUnique([2],[3])-
Check Automation: Write
Save "Test" in "res://Test.save"and press enter or right-arrow, if code changed toSLib.SaveFile("res://Test.save", "Test")automation setup is correct.
Congratulations, now you can use all the features of SLib!
To explore the capabilitiesو see Capabilities page in SLib wiki.
For detailed documentation and examples, visit our GitHub repository.
Join our community to share your experiences, ask questions, and get support from other SLib users. Check out our GitHub repository for the latest updates and contributions.
Tip
Wiki was updated to 1.1.0! 🚀
