You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[Nerdfont](https://www.nerdfonts.com/) - we use Nerdfont for the file picker. | You'll know it's missing when your icons look like "□" |
33
+
|[Linux](https://en.wikipedia.org/wiki/List_of_Linux_distributions) - GriddyCode was tested **only** on Linux | Although it'll work on the Gaming OS, the file picker might not. |
31
34
# ⌨️ Lua modding
32
35
GriddyCode allows you to extend its functionality via **Lua**.
*Note: since the paths might change, we recommend you manually search for GriddyCode in the AppData of your OS.*
43
+
*Note: the paths are not accurate, we recommend you manually search for GriddyCode in the AppData of your OS.*
41
44
42
45
## How?
43
46
You may see the folders **"langs"** and **"themes"**.
@@ -51,7 +54,6 @@ You may see the folders **"langs"** and **"themes"**.
51
54
#### Introduction
52
55
To extend the functionality of GriddyCode for a specific **file extension**, create a file with its name. (i.e. `toml.lua`)
53
56
54
-
#### Methods
55
57
#### Methods
56
58
57
59
| Method | Example | Description | Notes |
@@ -74,10 +76,19 @@ To add a theme, create a file in the **"themes"** folder with any name. (i.e. "d
74
76
|`set_gui(property: String, new_color: String)`|`set_gui("background_color", "#ff00ff")`| This method is dedicated to the overall GUI aspect of GriddyCode. | Available properties: `background_color`, `current_line_color`, `selection_color`, `font_color`, `word_highlighted_color`, `selection_background_color`. Properties except `background_color`, if not provided, will be set to a slightly modified version of `background_color`. Although possible, we don't recommend you rely on those & instead set all the values. |
75
77
76
78
*Note: if the HEX you input is invalid, it will default to #ff0000 (red)*
79
+
## Publishing
80
+
If you want to use a theme/plugin for **yourself**, you can put it into your [AppData](#where).
81
+
82
+
If you want to **submit** a theme/plugin, open a pull request adding it to `Lua/Plugins` or `Lua/Themes` respectively. If merged, it will be included in the next build.
77
83
78
84
# Contributions
79
85
Contributions are heavily appreciated, whether it's for adding Lua plugins, themes, safely exposing more features to Lua, or adding features directly to GriddyCode!
80
86
87
+
## Notice
88
+
- You will need to install the [Godot Engine](https://godotengine.org/) to run your proposed change & make sure it runs flawlessly.
89
+
- You don't have to submit executables.
90
+
- Use the v4.2 of the engine (currently Latest)
91
+
81
92
## 🐛 Current bugs/needed features:
82
93
### HIGH PRIORITY
83
94
- The `VHS & CRT` shader, on certain themes (One Dark Pro, GitHub Light, etc.), becomes completely white. Works good on GitHub Dark;
0 commit comments