-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
3,954 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Navigation | ||
[Home](https://github.com/1Axen/Blink/blob/main/README.md) | ||
[Installation](https://github.com/1Axen/Blink/blob/main/docs/Installation.md) | ||
[Getting Started](https://github.com/1Axen/Blink/blob/main/docs/Getting-Started.md) | ||
[Using Blink](https://github.com/1Axen/Blink/blob/main/docs/Using.md) | ||
[Studio Plugin](https://github.com/1Axen/Blink/blob/main/docs/Plugin.md) | ||
# Navigating | ||
After installing the plugin locate it within your plugin tab in Studio. | ||
> [!NOTE] | ||
> After opening the plugin you will be prompted to give it access to inject scripts, the plugin needs this in order to generate the output files. | ||
<img src="../assets/plugin/Locate.png"> | ||
|
||
## Menu | ||
> [!TIP] | ||
> You can open the side menu using the sandwich button on the left hand side. | ||
<img src="../assets/plugin/Menu.png"> | ||
Within the menu you can manage your network description files. | ||
<img src="../assets/plugin/Navigation.png"> | ||
|
||
## Saving | ||
To save a network description simply press the save button at the bottom of the side menu. | ||
This will prompt you to save whatever is currently in the editor. | ||
> [!TIP] | ||
> You can save to already existing files by simply inputting their name | ||
<img src="../assets/plugin/Save.png"> | ||
|
||
## Generating | ||
To generate your networking modules simply press the "Generate" button on your desired file. | ||
This will open a prompt asking you to select your desired output destination within the game explorer. | ||
|
||
<img src="../assets/plugin/Generate.png"> | ||
|
||
Once you've selected your desired output destination simply press "Generate" and your files will be ready. | ||
|
||
<img src="../assets/plugin/GenerateSelected.png"> | ||
|
||
If no issues arise Blink will generate the following Folder containing your networking modules: | ||
|
||
<img src="../assets/plugin/Output.png"> | ||
|
||
## Editor | ||
> [!NOTE] | ||
> The editor does not currently offer auto completion or error checking. | ||
> This is planned to be fixed within the next release. | ||
<img src="../assets/plugin/Editor.png"> | ||
|
||
|
||
> [!TIP] | ||
> Although it lacks proper error checking while writing it can still detect certain bad syntax, highlighting it in red. | ||
> <img src="../assets/plugin/Invalid.png"> | ||
## Errors | ||
Upon generating output files, Blink will parse the source contents and inform you of any errors within your files that are blocking generation. | ||
|
||
> <img src="../assets/plugin/Error.png"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"bundle": { | ||
"excludes": [ | ||
"@lune/**" | ||
], | ||
"modules_identifier": "__DARKLUA_BUNDLE_MODULES", | ||
"require_mode": { | ||
"name": "path", | ||
"sources": { | ||
"Base": "../src/Templates/Base.txt", | ||
"Client": "../src/Templates/Client.txt", | ||
"Server": "../src/Templates/Server.txt" | ||
} | ||
} | ||
}, | ||
"generator": "readable", | ||
"rules": [ | ||
"remove_types", | ||
"compute_expression", | ||
"remove_unused_if_branch", | ||
{ | ||
"identifier": "BUNDLED", | ||
"rule": "inject_global_value", | ||
"value": true | ||
}, | ||
{ | ||
"identifier": "VERSION", | ||
"rule": "inject_global_value", | ||
"value": "0.6.2" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@echo Off | ||
|
||
copy "..\build\.darklua.json" ".\.darklua.json" | ||
darklua process "./src/init.luau" "./bundle/init.server.lua" | ||
rojo build --output "%LocalAppData%\Roblox\Plugins\Blink.rbxmx" |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.