Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beyond-all-reason/zbstudioapi
Contains the Lua stubs for autocompletion in ZeroBrane Studio LUA IDE for the Spring Engine and BAR
https://github.com/beyond-all-reason/zbstudioapi
Last synced: 9 days ago
JSON representation
Contains the Lua stubs for autocompletion in ZeroBrane Studio LUA IDE for the Spring Engine and BAR
- Host: GitHub
- URL: https://github.com/beyond-all-reason/zbstudioapi
- Owner: beyond-all-reason
- License: gpl-2.0
- Created: 2022-10-13T11:41:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T18:24:42.000Z (7 months ago)
- Last Synced: 2024-04-28T19:31:24.668Z (7 months ago)
- Language: Lua
- Size: 186 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZBStudioAPI
Contains the Lua stubs for autocompletion in ZeroBrane Studio LUA IDE for the Spring/ Recoil Engine and BAR- https://github.com/beyond-all-reason/spring
## To use these:
1. Copy the `springzbapi.lua` and `springzbdef.lua` files to `ZeroBraneStudio\api\lua\`
2. Open settings in Edit->Preferences->Settings:User
3. Paste the line below into it:
`api = {'springzbapi','springzbdef'}`
4. Restart ZB StudioBe amazed by autocompletion, argument and return value completion, along with some info
![image](https://user-images.githubusercontent.com/109391/195593741-fb8ed068-c8e6-41a5-884a-a777f958cc06.png)
## To rebuild these:
1. Run the python file to scrape springrts wiki and generate springzbapi.lua
2. Enable the widget ingame to generate springzbdef.lua## For GLSL Shader Programming
Install https://github.com/pixeljetstream/zbstudio-graphicscodepack into `ZeroBraneStudio\packages`
![image](https://github.com/beyond-all-reason/ZBStudioAPI/assets/109391/96886f4c-63ea-4116-a74f-3d0a9da5bd21)