Getting autocomplete and proper syntax highlighting for BAR widget development saves hours of debugging. The right tools make Lua feel like a first-class language.
Tags: beyond all reason, widgets, development, lua, ZeroBrane, intellisense
ZeroBrane Studio pairs well with the BAR API definitions for autocomplete on Spring and VFS commands. The ZBStudioAPI repository provides Intellisense definitions for every engine call available to widgets.
Terraforming commands in BAR use debug command syntax that can be pasted directly into the advanced settings debug window. The order of command processing matters when stacking terraforming modifications on inverted or custom maps.
The pull request that formalized terraforming command syntax lives on GitHub and provides the best available documentation for how these commands parse.
The spectator HUD widget code is available on GitHub. Reading through it shows how to access spectator-specific data streams and render overlay information without interfering with player gameplay.
Getting your development environment right mirrors getting your in-game setup right. Preparation matters. Creed of Champions values that mindset and welcomes developers who want to contribute to the BAR ecosystem.
[Crd] Having a space like here that offers a community, trainings, events, and the guarantee to not be judged or insulted by fellow members is really precious. Keeping the game safe, and more importantly, fun.